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
public class CmsContainerpageEditor extends A_CmsEntryPoint
The container page editor.- Since:
- 8.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsContainerpageEditor.PageEditorQuickLaunchHandler
Quick launch handler for the page editor.
-
Constructor Summary
Constructors Constructor Description CmsContainerpageEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableEditing(java.lang.String reason)
Disables the edit functionality.void
disableToolbarButtons()
Deactivates all toolbar buttons.void
enableToolbarButtons(boolean hasChanges, java.lang.String noEditReason)
Enables the toolbar buttons.CmsToolbarGalleryMenu
getAdd()
Returns the add gallery menu.CmsToolbarClipboardMenu
getClipboard()
Returns the clip-board menu.CmsToolbarContextButton
getContext()
Returns the context menu.java.util.Map<java.lang.String,I_CmsContextMenuCommand>
getContextMenuCommands()
Returns the available context menu commands as a map by class name.CmsToolbarPublishButton
getPublish()
Returns the publish.CmsToolbarSelectionButton
getSelection()
Returns the selection button.CmsToolbar
getToolbar()
Returns the tool-bar widget.void
onModuleLoad()
-
Methods inherited from class org.opencms.gwt.client.A_CmsEntryPoint
enableRemoteExceptionHandler
-
-
-
-
Constructor Detail
-
CmsContainerpageEditor
public CmsContainerpageEditor()
-
-
Method Detail
-
disableEditing
public void disableEditing(java.lang.String reason)
Disables the edit functionality.- Parameters:
reason
- the text stating the reason why the edit functionality was disabled
-
disableToolbarButtons
public void disableToolbarButtons()
Deactivates all toolbar buttons.
-
enableToolbarButtons
public void enableToolbarButtons(boolean hasChanges, java.lang.String noEditReason)
Enables the toolbar buttons.- Parameters:
hasChanges
- if the page has changesnoEditReason
- the no edit reason
-
getAdd
public CmsToolbarGalleryMenu getAdd()
Returns the add gallery menu.- Returns:
- the add gallery menu
-
getClipboard
public CmsToolbarClipboardMenu getClipboard()
Returns the clip-board menu.- Returns:
- the clip-board menu
-
getContext
public CmsToolbarContextButton getContext()
Returns the context menu.- Returns:
- the context menu
-
getContextMenuCommands
public java.util.Map<java.lang.String,I_CmsContextMenuCommand> 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
public CmsToolbarPublishButton getPublish()
Returns the publish.- Returns:
- the publish
-
getSelection
public CmsToolbarSelectionButton getSelection()
Returns the selection button.- Returns:
- the selection button
-
getToolbar
public CmsToolbar getToolbar()
Returns the tool-bar widget.- Returns:
- the tool-bar widget
-
onModuleLoad
public void onModuleLoad()
- Specified by:
onModuleLoad
in interfacecom.google.gwt.core.client.EntryPoint
- Overrides:
onModuleLoad
in classA_CmsEntryPoint
- See Also:
EntryPoint.onModuleLoad()
-
-