Class A_CmsToolbarHandler

java.lang.Object
org.opencms.gwt.client.ui.A_CmsToolbarHandler
All Implemented Interfaces:
I_CmsActionHandler, I_CmsContextMenuHandler, I_CmsToolbarHandler
Direct Known Subclasses:
CmsContainerpageHandler, CmsDirectEditToolbarHandler, CmsSitemapToolbarHandler

public abstract class A_CmsToolbarHandler extends Object implements I_CmsToolbarHandler
Abstract class which implements the common part of all toolbar handler functionality.

Since:
8.0.0
  • Constructor Details

  • Method Details

    • transformEntries

      public List<I_CmsContextMenuEntry> transformEntries(List<org.opencms.gwt.shared.CmsContextMenuEntryBean> menuBeans, org.opencms.util.CmsUUID structureId)
      Transforms a list of context menu entry beans to a list of context menu entries.

      Parameters:
      menuBeans - the list of context menu entry beans
      structureId - the id of the resource for which to transform the context menu entries
      Returns:
      a list of context menu entries
    • transformSingleEntry

      protected I_CmsContextMenuEntry transformSingleEntry(org.opencms.util.CmsUUID structureId, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
      Creates a single context menu entry from a context menu entry bean.

      Parameters:
      structureId - the structure id of the resource
      bean - the context menu entry bean
      Returns:
      the created context menu entry