Class CmsShowWorkplace

java.lang.Object
org.opencms.gwt.client.ui.contextmenu.CmsShowWorkplace
All Implemented Interfaces:
I_CmsHasContextMenuCommand

public final class CmsShowWorkplace extends Object implements I_CmsHasContextMenuCommand
Provides a method to open the workplace.

Since:
8.0.0
  • Method Details

    • getContextMenuCommand

      Returns the context menu command according to I_CmsHasContextMenuCommand.

      Returns:
      the context menu command
    • openWorkplace

      public static void openWorkplace(org.opencms.util.CmsUUID structureId, boolean classic)
      Opens the workplace.

      Parameters:
      structureId - the structure id of the resource for which the workplace should be opened
      classic - if true, opens the old workplace, else the new workplace