Package org.opencms.gwt.client.ui
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
Abstract class which implements the common part of all toolbar handler functionality.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontransformEntries
(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.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
Methods inherited from interface org.opencms.gwt.client.ui.I_CmsToolbarHandler
activateSelection, deactivateCurrentButton, getActiveButton, loadContextMenu, setActiveButton
-
Constructor Details
-
A_CmsToolbarHandler
public A_CmsToolbarHandler()
-
-
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 beansstructureId
- the id of the resource for which to transform the context menu entries- Returns:
- a list of context menu entries
-