Class CmsEditProperties
java.lang.Object
org.opencms.gwt.client.ui.contextmenu.CmsEditProperties
- All Implemented Interfaces:
I_CmsHasContextMenuCommand
The class for the "edit properties" context menu entries.
- Since:
- 8.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface used to access the next/previous file for which to edit properties.static classHelper class which encapsulates the differences between the contexts where the property edit dialog is opened.protected static classProperty editor handler which uses a text box for the template selection.static classHelper class for editing properties in the workplace. -
Method Summary
Modifier and TypeMethodDescriptionstatic voideditProperties(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler contextMenuHandler, boolean editName, Runnable cancelHandler, boolean enableAdeTemplateSelect, CmsEditProperties.PropertyEditingContext editContext) Starts the property editor for the resource with the given structure id.static voideditPropertiesWithFileNavigation(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler contextMenuHandler, boolean editName, Runnable cancelHandler, boolean enableAdeTemplateSelect, CmsEditProperties.PropertyEditingContext editContext, CmsActiveFieldData prevFieldData) Starts the property editor for the resource with the given structure id.static I_CmsContextMenuCommandReturns the context menu command according toI_CmsHasContextMenuCommand.static voidopenPropertyDialog(org.opencms.gwt.shared.property.CmsPropertiesBean result, I_CmsContextMenuHandler contextMenuHandler, boolean editName, Runnable cancelHandler, boolean enableAdeTemplateSelect, CmsEditProperties.PropertyEditingContext editContext) Opens the property dialog and populates it with the data from a given CmsPropertiesBean.
-
Method Details
-
getContextMenuCommand
Returns the context menu command according toI_CmsHasContextMenuCommand.- Returns:
- the context menu command