Class CmsEditProperties.PropertyEditorHandler
java.lang.Object
org.opencms.gwt.client.property.CmsSimplePropertyEditorHandler
org.opencms.gwt.client.ui.contextmenu.CmsEditProperties.PropertyEditorHandler
- All Implemented Interfaces:
I_CmsPropertyEditorHandler
- Enclosing class:
- CmsEditProperties
protected static class CmsEditProperties.PropertyEditorHandler
extends CmsSimplePropertyEditorHandler
Property editor handler which uses a text box for the template selection.
-
Field Summary
Fields inherited from class org.opencms.gwt.client.property.CmsSimplePropertyEditorHandler
m_propertiesBean
-
Constructor Summary
ConstructorDescriptionCreates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Called when the form is submitted successfully.void
Executes and clears the stored callback.void
setEnableAdeTemplateSelect
(boolean enableAdeTemplateSelect) Enables or disables the ADE template select box for pages.void
setNextAction
(Runnable runnable) Stores an action to execute after successful submits.boolean
Returns true if the property editor should use only ADE templates.Methods inherited from class org.opencms.gwt.client.property.CmsSimplePropertyEditorHandler
getAllPropertyNames, getContextMenuHandler, getDefaultFileId, getDefaultFileProperties, getDialogTitle, getForbiddenUrlNames, getId, getInheritedProperty, getModeClass, getName, getOwnProperties, getPageInfo, getPath, getPossibleTemplates, handleSubmit, hasEditableName, isFolder, isHiddenProperty, isSimpleMode, saveProperties, setEditableName, setPropertiesBean, setPropertySaver
-
Constructor Details
-
Method Details
-
runAction
Executes and clears the stored callback. -
setEnableAdeTemplateSelect
Enables or disables the ADE template select box for pages.- Parameters:
enableAdeTemplateSelect
- true if ADE template select box for pages should be enabled
-
setNextAction
Stores an action to execute after successful submits.- Parameters:
runnable
- the callback
-
useAdeTemplates
Description copied from interface:I_CmsPropertyEditorHandler
Returns true if the property editor should use only ADE templates.- Specified by:
useAdeTemplates
in interfaceI_CmsPropertyEditorHandler
- Overrides:
useAdeTemplates
in classCmsSimplePropertyEditorHandler
- Returns:
- true if the property editor should use only ADE templates
- See Also:
-
onSubmitSuccess
Description copied from class:CmsSimplePropertyEditorHandler
Called when the form is submitted successfully.- Overrides:
onSubmitSuccess
in classCmsSimplePropertyEditorHandler
- See Also:
-