Class CmsContainerpageEditor
java.lang.Object
org.opencms.gwt.client.A_CmsEntryPoint
org.opencms.ade.containerpage.client.CmsContainerpageEditor
- All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint
The container page editor.
- Since:
- 8.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQuick launch handler for the page editor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableEditing(String reason) Disables the edit functionality.voidDeactivates all toolbar buttons.voidenableToolbarButtons(boolean hasChanges, String noEditReason) Enables the toolbar buttons.getAdd()Returns the add gallery menu.Returns the clip-board menu.Returns the context menu.Returns the available context menu commands as a map by class name.Returns the publish.Returns the selection button.Returns the tool-bar widget.voidMethods inherited from class org.opencms.gwt.client.A_CmsEntryPoint
enableRemoteExceptionHandler
-
Constructor Details
-
CmsContainerpageEditor
public CmsContainerpageEditor()
-
-
Method Details
-
disableEditing
Disables the edit functionality.- Parameters:
reason- the text stating the reason why the edit functionality was disabled
-
disableToolbarButtons
Deactivates all toolbar buttons. -
enableToolbarButtons
Enables the toolbar buttons.- Parameters:
hasChanges- if the page has changesnoEditReason- the no edit reason
-
getAdd
Returns the add gallery menu.- Returns:
- the add gallery menu
-
getClipboard
Returns the clip-board menu.- Returns:
- the clip-board menu
-
getContext
Returns the context menu.- Returns:
- the context menu
-
getContextMenuCommands
Returns the available context menu commands as a map by class name.- Returns:
- the available context menu commands as a map by class name
-
getPublish
Returns the publish.- Returns:
- the publish
-
getSelection
Returns the selection button.- Returns:
- the selection button
-
getToolbar
Returns the tool-bar widget.- Returns:
- the tool-bar widget
-
onModuleLoad
- Specified by:
onModuleLoadin interfacecom.google.gwt.core.client.EntryPoint- Overrides:
onModuleLoadin classA_CmsEntryPoint- See Also:
-