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 interface
Interface used to access the next/previous file for which to edit properties.static class
Helper class which encapsulates the differences between the contexts where the property edit dialog is opened.protected static class
Property editor handler which uses a text box for the template selection.static class
Helper class for editing properties in the workplace. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
editProperties
(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 void
editPropertiesWithFileNavigation
(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_CmsContextMenuCommand
Returns the context menu command according toI_CmsHasContextMenuCommand
.static void
openPropertyDialog
(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