Interface I_CmsToolbarHandler

All Superinterfaces:
I_CmsActionHandler, I_CmsContextMenuHandler
All Known Implementing Classes:
A_CmsToolbarHandler, CmsContainerpageHandler, CmsDirectEditToolbarHandler, CmsSitemapToolbarHandler

An abstract interface used to coordinate toolbar buttons with a toolbar.

Since:
8.0.0
  • Method Details

    • activateSelection

      Activates the selection button.

    • deactivateCurrentButton

      De-activates the current button.

    • getActiveButton

      Returns the currently active button (may be null).

      Returns:
      the currently active button
    • loadContextMenu

      void loadContextMenu(org.opencms.util.CmsUUID structureId, org.opencms.gwt.shared.CmsCoreData.AdeContext context)
      Loads the context menu.

      Parameters:
      structureId - the structure id of the resource for which to load the context menu
      context - the context menu item visibility context
    • setActiveButton

      Sets the active button.

      Parameters:
      button - the new active button