Class CmsGalleryTreeItem

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, I_CmsDraggable, I_CmsListItem, I_CmsTruncable

public class CmsGalleryTreeItem extends CmsTreeItem
Tree item for the gallery view.

  • Constructor Details

    • CmsGalleryTreeItem

      public CmsGalleryTreeItem(org.opencms.ade.sitemap.shared.CmsGalleryFolderEntry galleryFolder)
      Constructor.

      Parameters:
      galleryFolder - the gallery folder
    • CmsGalleryTreeItem

      public CmsGalleryTreeItem(org.opencms.ade.sitemap.shared.CmsGalleryType galleryType)
      Constructor.

      Parameters:
      galleryType - the gallery type
  • Method Details

    • createListWidget

      public static CmsListItemWidget createListWidget(org.opencms.ade.sitemap.shared.CmsGalleryType galleryType)
      Creates the list item widget for the given type.

      Parameters:
      galleryType - the gallery type
      Returns:
      the list item widget
    • getEntryId

      public org.opencms.util.CmsUUID getEntryId()
      Returns the folder entry id.

      Returns:
      the folder entry id
    • getSitePath

      public String getSitePath()
      Returns the site path.

      Returns:
      the site path
    • updateSitePath

      public void updateSitePath(String sitePath)
      Updates the site path info.

      Parameters:
      sitePath - the new site path
    • showGallery

      protected void showGallery(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry)
      Shows the gallery dialog for the given entry.

      Parameters:
      entry - the gallery folder entry