Class CmsGalleryTreeItem

  • 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 Detail

      • 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 Detail

      • 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 java.lang.String getSitePath()
        Returns the site path.

        Returns:
        the site path
      • updateSitePath

        public void updateSitePath​(java.lang.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