Class CmsEditProperties.WorkplacePropertyEditorContext
java.lang.Object
org.opencms.gwt.client.ui.contextmenu.CmsEditProperties.WorkplacePropertyEditorContext
- All Implemented Interfaces:
I_CmsFormHandler
- Enclosing class:
- CmsEditProperties
public static class CmsEditProperties.WorkplacePropertyEditorContext
extends Object
implements I_CmsFormHandler
Helper class for editing properties in the workplace.
-
Constructor Summary
ConstructorDescriptionWorkplacePropertyEditorContext
(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler contextMenuHandler, boolean editName, Runnable cancelHandler, boolean enableAdeTemplateSelect, CmsEditProperties.PropertyEditingContext editContext, CmsActiveFieldData prevFieldData) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Edits properties for current resource.org.opencms.util.CmsUUID
Gets the structure id.boolean
Returns true if properties are currently being submitted.void
onSubmitValidationResult
(CmsForm form, boolean ok) This method is called when the validation triggered by an attempt to submit the form has finished.void
onValidationResult
(CmsForm form, boolean ok) This method is called when the normal validation triggered by changing fields has finished.
-
Constructor Details
-
Method Details
-
editProperties
Edits properties for current resource. -
getStructureId
Gets the structure id.- Returns:
- the structure id
-
isSubmitting
Description copied from interface:I_CmsFormHandler
Returns true if properties are currently being submitted.- Specified by:
isSubmitting
in interfaceI_CmsFormHandler
- Returns:
- true if properties are being submitted
- See Also:
-
onSubmitValidationResult
Description copied from interface:I_CmsFormHandler
This method is called when the validation triggered by an attempt to submit the form has finished.- Specified by:
onSubmitValidationResult
in interfaceI_CmsFormHandler
- Parameters:
form
- the formok
- the validation result- See Also:
-
onValidationResult
Description copied from interface:I_CmsFormHandler
This method is called when the normal validation triggered by changing fields has finished.- Specified by:
onValidationResult
in interfaceI_CmsFormHandler
- Parameters:
form
- the formok
- the validation result- See Also:
-