Class ChangeToPerspectiveMenu

All Implemented Interfaces:

public class ChangeToPerspectiveMenu extends PerspectiveMenu
Change the perspective of the active page in the window to the selected one.
  • Constructor Details

    • ChangeToPerspectiveMenu

      public ChangeToPerspectiveMenu(IWorkbenchWindow window, String id)
      Constructor for ChangeToPerspectiveMenu.
      window - the workbench window this action applies to
      id - the menu id
  • Method Details

    • run

      protected void run(IPerspectiveDescriptor desc)
      Description copied from class: PerspectiveMenu
      Runs an action for a particular perspective. The behavior of the action is defined by the subclass.
      Specified by:
      run in class PerspectiveMenu
      desc - the selected perspective