Package org.eclipse.ui.internal
Class ChangeToPerspectiveMenu
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.eclipse.ui.actions.PerspectiveMenu
org.eclipse.ui.internal.ChangeToPerspectiveMenu
- All Implemented Interfaces:
- IContributionItem
Change the perspective of the active page in the window to the selected one.
- 
Field SummaryFields inherited from class org.eclipse.ui.actions.PerspectiveMenuSHOW_PERSP_ID
- 
Constructor SummaryConstructorsConstructorDescriptionChangeToPerspectiveMenu(IWorkbenchWindow window, String id) Constructor for ChangeToPerspectiveMenu.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidrun(IPerspectiveDescriptor desc) Runs an action for a particular perspective.Methods inherited from class org.eclipse.ui.actions.PerspectiveMenudispose, fill, getPerspectiveItems, getShowActive, getWindow, isDirty, isDynamic, run, showActiveMethods inherited from class org.eclipse.jface.action.ContributionItemfill, fill, fill, getId, getParent, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
- 
Constructor Details- 
ChangeToPerspectiveMenuConstructor for ChangeToPerspectiveMenu.- Parameters:
- window- the workbench window this action applies to
- id- the menu id
 
 
- 
- 
Method Details- 
runDescription copied from class:PerspectiveMenuRuns an action for a particular perspective. The behavior of the action is defined by the subclass.- Specified by:
- runin class- PerspectiveMenu
- Parameters:
- desc- the selected perspective
 
 
-