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 TypeMethodDescriptionvoid
Activates the selection button.void
De-activates the current button.Returns the currently active button (may be null).void
loadContextMenu
(org.opencms.util.CmsUUID structureId, org.opencms.gwt.shared.CmsCoreData.AdeContext context) Loads the context menu.void
setActiveButton
(I_CmsToolbarButton button) Sets the active button.Methods inherited from interface org.opencms.gwt.client.ui.contextmenu.I_CmsActionHandler
leavePage, onSiteOrProjectChange, refreshResource
Methods 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
-