Class CmsCategoryTreeItem

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.gwt.client.ui.CmsListItem
org.opencms.gwt.client.ui.tree.CmsTreeItem
org.opencms.ade.sitemap.client.CmsCategoryTreeItem
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 CmsCategoryTreeItem extends CmsTreeItem
Widget representing a category in the category mode of the sitemap editor.

  • Constructor Details

    • CmsCategoryTreeItem

      public CmsCategoryTreeItem(org.opencms.gwt.shared.CmsCategoryTreeEntry entry)
      Creates a new tree item.

      Parameters:
      entry - the data for the tree item
  • Method Details

    • createCategoryListInfo

      public static org.opencms.gwt.shared.CmsListInfoBean createCategoryListInfo(org.opencms.gwt.shared.CmsCategoryTreeEntry entry)
      Creates the list info bean for a tree item from a category bean.

      Parameters:
      entry - the category data
      Returns:
      the list info bean
    • getStructureId

      public org.opencms.util.CmsUUID getStructureId()
      Gets the structure id.

      Returns:
      the structure id