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
ConstructorsConstructorDescriptionCreates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled when the form is submitted successfully.voidExecutes and clears the stored callback.voidsetEnableAdeTemplateSelect(boolean enableAdeTemplateSelect) Enables or disables the ADE template select box for pages.voidsetNextAction(Runnable runnable) Stores an action to execute after successful submits.booleanReturns true if the property editor should use only ADE templates.Methods inherited from class org.opencms.gwt.client.property.CmsSimplePropertyEditorHandler
getAllPropertyNames, getContextMenuHandler, getDefaultFileId, getDefaultFilePath, 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_CmsPropertyEditorHandlerReturns true if the property editor should use only ADE templates.- Specified by:
useAdeTemplatesin interfaceI_CmsPropertyEditorHandler- Overrides:
useAdeTemplatesin classCmsSimplePropertyEditorHandler- Returns:
- true if the property editor should use only ADE templates
- See Also:
-
onSubmitSuccess
Description copied from class:CmsSimplePropertyEditorHandlerCalled when the form is submitted successfully.- Overrides:
onSubmitSuccessin classCmsSimplePropertyEditorHandler- See Also:
-