Package org.opencms.gwt.client.ui
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 Summary
Modifier and TypeMethodDescriptionvoidActivates the selection button.voidDe-activates the current button.Returns the currently active button (may be null).voidloadContextMenu(org.opencms.util.CmsUUID structureId, org.opencms.gwt.shared.CmsCoreData.AdeContext context) Loads the context menu.voidsetActiveButton(I_CmsToolbarButton button) Sets the active button.Methods inherited from interface org.opencms.gwt.client.ui.contextmenu.I_CmsActionHandler
leavePage, onSiteOrProjectChange, refreshResourceMethods inherited from interface org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuHandler
ensureLockOnResource, getContextMenuCommands, getContextType, getEditorHandler, unlockResource
-
Method Details
-
activateSelection
void activateSelection()Activates the selection button. -
deactivateCurrentButton
void deactivateCurrentButton()De-activates the current button. -
getActiveButton
Returns the currently active button (may be null).- Returns:
- the currently active button
-
setActiveButton
Sets the active button.- Parameters:
button- the new active button
-