public class CmsInheritanceContainerEditor extends A_CmsGroupEditor
m_containerMarker, m_dialogContent, m_elementData, m_overlayDiv| 限定符 | 构造器和说明 |
|---|---|
protected |
CmsInheritanceContainerEditor(CmsGroupContainerElementPanel groupContainer,
CmsContainerpageController controller,
CmsContainerpageHandler handler)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addButtons()
Adds the buttons to the dialog.
|
protected void |
addInputFields()
Adds the required input fields to the dialog.
|
protected void |
breakUpContainer()
Breaks up the group container inserting all visible elements into the parent container instead.
|
protected void |
cancelEdit()
On click function for cancel button.
|
protected void |
clearInstance()
Clears the static instance reference.
|
protected void |
closeDialog(boolean breakingUp)
Closes the dialog.
|
static CmsInheritanceContainerEditor |
getInstance()
Returns the inheritance container editor instance.
|
void |
onSettingsEdited()
Method which should be called after the settings of an element in the inheritance containerhave been edited.
|
static CmsInheritanceContainerEditor |
openInheritanceContainerEditor(CmsGroupContainerElementPanel groupContainer,
CmsContainerpageController controller,
CmsContainerpageHandler handler)
Opens the inheritance container editor.
|
void |
removeElement(CmsContainerPageElementPanel elementWidget)
Either removes the locally configured element or hides the inherited element.
|
protected void |
saveEdit()
On click function for save button.
|
protected void |
setInheritContainerData(java.util.Map<java.lang.String,CmsContainerElementData> elementsData)
Sets the loaded element data.
|
void |
setOptionBar(CmsContainerPageElementPanel elementWidget)
Sets the option bar on the element widget.
|
void |
showElement(CmsContainerPageElementPanel elementWidget)
Shows a formerly hidden element and sets the visibility info to true.
|
protected void |
toggleElementVisibility()
Toggles the visibility of hidden elements.
|
addButton, addCancelButton, addInputField, addSaveButton, createPlaceholder, getBackUpElements, getController, getElementIds, getElements, getGroupContainerWidget, getHandler, getIndexPosition, getParentContainer, hidePopup, openDialog, removeAllChildren, setSaveEnabled, showPopup, updateBackupElementsclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsprotected CmsInheritanceContainerEditor(CmsGroupContainerElementPanel groupContainer, CmsContainerpageController controller, CmsContainerpageHandler handler)
groupContainer - the group container widgetcontroller - the container page controllerhandler - the container page handlerpublic static CmsInheritanceContainerEditor getInstance()
public static CmsInheritanceContainerEditor openInheritanceContainerEditor(CmsGroupContainerElementPanel groupContainer, CmsContainerpageController controller, CmsContainerpageHandler handler)
groupContainer - the group-containercontroller - the container-page controllerhandler - the container-page handlerpublic void onSettingsEdited()
public void removeElement(CmsContainerPageElementPanel elementWidget)
elementWidget - the element widgetpublic void setOptionBar(CmsContainerPageElementPanel elementWidget)
elementWidget - the element widgetpublic void showElement(CmsContainerPageElementPanel elementWidget)
elementWidget - the element widgetprotected void addButtons()
A_CmsGroupEditoraddButtons 在类中 A_CmsGroupEditorA_CmsGroupEditor.addButtons()protected void addInputFields()
A_CmsGroupEditoraddInputFields 在类中 A_CmsGroupEditorA_CmsGroupEditor.addInputFields()protected void breakUpContainer()
protected void cancelEdit()
A_CmsGroupEditorcancelEdit 在类中 A_CmsGroupEditorA_CmsGroupEditor.cancelEdit()protected void clearInstance()
A_CmsGroupEditorclearInstance 在类中 A_CmsGroupEditorA_CmsGroupEditor.clearInstance()protected void closeDialog(boolean breakingUp)
A_CmsGroupEditorcloseDialog 在类中 A_CmsGroupEditorbreakingUp - true if the group container is to be removedA_CmsGroupEditor.closeDialog(boolean)protected void saveEdit()
A_CmsGroupEditorsaveEdit 在类中 A_CmsGroupEditorA_CmsGroupEditor.saveEdit()protected void setInheritContainerData(java.util.Map<java.lang.String,CmsContainerElementData> elementsData)
elementsData - the elements dataprotected void toggleElementVisibility()