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
ConstructorDescriptionCmsContextMenuEditHandler
(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:
cancel
in interfaceI_CmsFilePropertyEditHandler
- See Also:
-
save
Description copied from interface:I_CmsFilePropertyEditHandler
Saves the value.- Specified by:
save
in interfaceI_CmsFilePropertyEditHandler
- Parameters:
value
- the value to save- See Also:
-
start
Description copied from interface:I_CmsFilePropertyEditHandler
Starts the edit process.- Specified by:
start
in interfaceI_CmsFilePropertyEditHandler
- See Also:
-
textChange
- Specified by:
textChange
in interfacecom.vaadin.v7.event.FieldEvents.TextChangeListener
- See Also:
-
com.vaadin.event.FieldEvents.TextChangeListener#textChange(com.vaadin.event.FieldEvents.TextChangeEvent)
-
validate
- Specified by:
validate
in interfacecom.vaadin.v7.data.Validator
- Throws:
com.vaadin.v7.data.Validator.InvalidValueException
- See Also:
-
com.vaadin.data.Validator#validate(java.lang.Object)
-