Package org.opencms.ui.contextmenu
Class CmsContextMenuEditHandler
java.lang.Object
org.opencms.ui.contextmenu.CmsContextMenuEditHandler
- All Implemented Interfaces:
com.vaadin.event.ConnectorEventListener,com.vaadin.event.SerializableEventListener,com.vaadin.v7.data.Validator,com.vaadin.v7.event.FieldEvents.TextChangeListener,Serializable,EventListener,I_CmsFilePropertyEditHandler
Handles inline editing within the file table.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Validator
com.vaadin.v7.data.Validator.EmptyValueException, com.vaadin.v7.data.Validator.InvalidValueException -
Field Summary
Fields inherited from interface com.vaadin.v7.event.FieldEvents.TextChangeListener
EVENT_ID, EVENT_METHOD -
Constructor Summary
ConstructorsConstructorDescriptionCmsContextMenuEditHandler(CmsUUID editId, CmsResourceTableProperty editProperty, CmsFileTable fileTable, I_CmsDialogContext context) Constructor. -
Method Summary
-
Constructor Details
-
CmsContextMenuEditHandler
public CmsContextMenuEditHandler(CmsUUID editId, CmsResourceTableProperty editProperty, CmsFileTable fileTable, I_CmsDialogContext context) Constructor.- Parameters:
editId- the content structure ideditProperty- the property to editfileTable- the file tablecontext- the dialog context
-
-
Method Details
-
cancel
Cancels the edit process. Unlocks the resource if required.- Specified by:
cancelin interfaceI_CmsFilePropertyEditHandler- See Also:
-
save
Description copied from interface:I_CmsFilePropertyEditHandlerSaves the value.- Specified by:
savein interfaceI_CmsFilePropertyEditHandler- Parameters:
value- the value to save- See Also:
-
start
Description copied from interface:I_CmsFilePropertyEditHandlerStarts the edit process.- Specified by:
startin interfaceI_CmsFilePropertyEditHandler- See Also:
-
textChange
- Specified by:
textChangein interfacecom.vaadin.v7.event.FieldEvents.TextChangeListener- See Also:
-
validate
- Specified by:
validatein interfacecom.vaadin.v7.data.Validator- Throws:
com.vaadin.v7.data.Validator.InvalidValueException- See Also:
-