public class CmsContainerpageEditor extends A_CmsEntryPoint
限定符和类型 | 字段和说明 |
---|---|
protected CmsStyleVariable |
m_toolbarVisibility
Style to toggle toolbar visibility.
|
构造器和说明 |
---|
CmsContainerpageEditor() |
限定符和类型 | 方法和说明 |
---|---|
void |
disableEditing(java.lang.String reason)
Disables the edit functionality.
|
void |
disableToolbarButtons()
Deactivates all toolbar buttons.
|
void |
enableToolbarButtons(boolean hasChanges)
Enables the toolbar buttons.
|
CmsToolbarGalleryMenu |
getAdd()
Returns the add gallery menu.
|
protected java.util.List<CmsContainerPageElementPanel> |
getAllContainerPageElements()
Helper method to get all current container page elements.
|
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.
|
CmsToolbarResetButton |
getReset()
Returns the reset button.
|
CmsToolbarSaveButton |
getSave()
Returns the save button.
|
CmsToolbarSelectionButton |
getSelection()
Returns the selection button.
|
CmsToolbar |
getToolbar()
Returns the tool-bar widget.
|
static I_CmsContainerZIndexManager |
getZIndexManager()
Returns the Z index manager for the container page editor.
|
boolean |
isToolbarVisible()
Returns if the tool-bar is visible.
|
void |
onModuleLoad() |
void |
reinitializeButtons()
Reinitializes the buttons in the container element menus.
|
void |
showToolbar(boolean show)
Shows the tool-bar.
|
enableRemoteExceptionHandler
protected CmsStyleVariable m_toolbarVisibility
public static I_CmsContainerZIndexManager getZIndexManager()
public void disableEditing(java.lang.String reason)
reason
- the text stating the reason why the edit functionality was disabledpublic void disableToolbarButtons()
public void enableToolbarButtons(boolean hasChanges)
hasChanges
- if the page has changespublic CmsToolbarGalleryMenu getAdd()
public CmsToolbarClipboardMenu getClipboard()
public CmsToolbarContextButton getContext()
public java.util.Map<java.lang.String,I_CmsContextMenuCommand> getContextMenuCommands()
public CmsToolbarPublishButton getPublish()
public CmsToolbarResetButton getReset()
public CmsToolbarSaveButton getSave()
public CmsToolbarSelectionButton getSelection()
public CmsToolbar getToolbar()
public boolean isToolbarVisible()
true
if the tool-bar is visiblepublic void onModuleLoad()
onModuleLoad
在接口中 com.google.gwt.core.client.EntryPoint
onModuleLoad
在类中 A_CmsEntryPoint
EntryPoint.onModuleLoad()
public void reinitializeButtons()
public void showToolbar(boolean show)
show
- if true
the tool-bar will be shownprotected java.util.List<CmsContainerPageElementPanel> getAllContainerPageElements()