Package org.eclipse.ui.internal
Class Perspective
java.lang.Object
org.eclipse.ui.internal.Perspective
-
Constructor Summary
ConstructorsConstructorDescriptionPerspective(org.eclipse.ui.internal.registry.PerspectiveDescriptor desc, MPerspective layout, WorkbenchPage page) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor newDesc) List<org.eclipse.ui.internal.registry.IActionSetDescriptor> List<org.eclipse.ui.internal.registry.IActionSetDescriptor> getDesc()Returns the perspective.String[]Returns the new wizard shortcuts associated with this perspective.String[]Returns the perspective shortcuts associated with this perspective.String[]Returns the show view shortcuts associated with this perspective.voidprotected voidremoveActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor toRemove) voidturnOffActionSet(org.eclipse.ui.internal.registry.IActionSetDescriptor toDisable) voidturnOffActionSets(org.eclipse.ui.internal.registry.IActionSetDescriptor[] toDisable) voidturnOnActionSets(org.eclipse.ui.internal.registry.IActionSetDescriptor[] newArray) void
-
Constructor Details
-
Perspective
public Perspective(org.eclipse.ui.internal.registry.PerspectiveDescriptor desc, MPerspective layout, WorkbenchPage page)
-
-
Method Details
-
initActionSets
public void initActionSets() -
getDesc
Returns the perspective.- Returns:
- can return null!
-
getNewWizardShortcuts
Returns the new wizard shortcuts associated with this perspective.- Returns:
- an array of new wizard identifiers
-
getPerspectiveShortcuts
Returns the perspective shortcuts associated with this perspective.- Returns:
- an array of perspective identifiers
-
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
-
getAlwaysOffActionSets
-
updateActionBars
public void updateActionBars()
-