Class CmsShowWorkplace
java.lang.Object
org.opencms.gwt.client.ui.contextmenu.CmsShowWorkplace
- All Implemented Interfaces:
I_CmsHasContextMenuCommand
Provides a method to open the workplace.
- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic I_CmsContextMenuCommand
Returns the context menu command according toI_CmsHasContextMenuCommand
.static void
openWorkplace
(org.opencms.util.CmsUUID structureId, boolean classic) Opens the workplace.
-
Method Details
-
getContextMenuCommand
Returns the context menu command according toI_CmsHasContextMenuCommand
.- Returns:
- the context menu command
-
openWorkplace
Opens the workplace.- Parameters:
structureId
- the structure id of the resource for which the workplace should be openedclassic
- if true, opens the old workplace, else the new workplace
-