Class Perspective

java.lang.Object
org.eclipse.ui.internal.Perspective

public class Perspective extends Object
  • Constructor Details

    • Perspective

      public Perspective(org.eclipse.ui.internal.registry.PerspectiveDescriptor desc, MPerspective layout, WorkbenchPage page)
  • Method Details

    • initActionSets

      public void initActionSets()
    • getDesc

      public IPerspectiveDescriptor getDesc()
      Returns the perspective.
      Returns:
      can return null!
    • getNewWizardShortcuts

      public String[] getNewWizardShortcuts()
      Returns the new wizard shortcuts associated with this perspective.
      Returns:
      an array of new wizard identifiers
    • getPerspectiveShortcuts

      public String[] getPerspectiveShortcuts()
      Returns the perspective shortcuts associated with this perspective.
      Returns:
      an array of perspective identifiers
    • getShowViewShortcuts

      public String[] getShowViewShortcuts()
      Returns the show view shortcuts associated with this perspective.
      Returns:
      an array of view identifiers
    • turnOnActionSets

      public void turnOnActionSets(org.eclipse.ui.internal.registry.IActionSetDescriptor[] newArray)
    • turnOffActionSets

      public void turnOffActionSets(org.eclipse.ui.internal.registry.IActionSetDescriptor[] toDisable)
    • turnOffActionSet

      public void turnOffActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor toDisable)
    • addActionSet

      protected void addActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor newDesc)
    • removeActionSet

      protected void removeActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor toRemove)
    • getAlwaysOnActionSets

      public List<org.eclipse.ui.internal.registry.IActionSetDescriptor> getAlwaysOnActionSets()
    • getAlwaysOffActionSets

      public List<org.eclipse.ui.internal.registry.IActionSetDescriptor> getAlwaysOffActionSets()
    • updateActionBars

      public void updateActionBars()