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
ConstructorsConstructorDescriptionWorkplacePropertyEditorContext(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 TypeMethodDescriptionvoidEdits properties for current resource.org.opencms.util.CmsUUIDGets the structure id.booleanReturns true if properties are currently being submitted.voidonSubmitValidationResult(CmsForm form, boolean ok) This method is called when the validation triggered by an attempt to submit the form has finished.voidonValidationResult(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_CmsFormHandlerReturns true if properties are currently being submitted.- Specified by:
isSubmittingin interfaceI_CmsFormHandler- Returns:
- true if properties are being submitted
- See Also:
-
onSubmitValidationResult
Description copied from interface:I_CmsFormHandlerThis method is called when the validation triggered by an attempt to submit the form has finished.- Specified by:
onSubmitValidationResultin interfaceI_CmsFormHandler- Parameters:
form- the formok- the validation result- See Also:
-
onValidationResult
Description copied from interface:I_CmsFormHandlerThis method is called when the normal validation triggered by changing fields has finished.- Specified by:
onValidationResultin interfaceI_CmsFormHandler- Parameters:
form- the formok- the validation result- See Also:
-