Uses of Interface
org.eclipse.ui.IPerspectiveDescriptor
Package
Description
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
-
Uses of IPerspectiveDescriptor in org.eclipse.ui
Modifier and TypeMethodDescriptionIPerspectiveRegistry.clonePerspective
(String id, String label, IPerspectiveDescriptor desc) Clones an existing perspective.IPerspectiveRegistry.findPerspectiveWithId
(String perspectiveId) Finds and returns the registered perspective with the given perspective id.IPerspectiveRegistry.findPerspectiveWithLabel
(String label) Finds and returns the registered perspective with the given label.IPageLayout.getDescriptor()
Returns the perspective descriptor for the perspective being layed out.IWorkbenchPage.getOpenPerspectives()
Returns the descriptors for the perspectives that are open in this page, in the order in which they were opened.IWorkbenchPage.getPerspective()
Returns the current perspective descriptor for this page, ornull
if there is no current perspective.IPerspectiveRegistry.getPerspectives()
Returns a list of the perspectives known to the workbench.IWorkbenchPage.getSortedPerspectives()
Returns the descriptors for the perspectives that are open in this page, in the order in which they were activated (oldest first).Modifier and TypeMethodDescriptionIPerspectiveRegistry.clonePerspective
(String id, String label, IPerspectiveDescriptor desc) Clones an existing perspective.void
IWorkbenchPage.closePerspective
(IPerspectiveDescriptor desc, boolean saveParts, boolean closePage) Closes the specified perspective in this page.void
IPerspectiveRegistry.deletePerspective
(IPerspectiveDescriptor persp) Deletes a perspective.void
IPerspectiveListener.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been activated.void
PerspectiveAdapter.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
IPerspectiveListener.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) Notifies this listener that a perspective has changed in some way (for example, editor area hidden, perspective reset, view show/hide, editor open/close, etc).void
IPerspectiveListener2.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) Notifies this listener that a part in the given page's perspective has changed in some way (for example, view show/hide, editor open/close, etc).void
PerspectiveAdapter.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) void
PerspectiveAdapter.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) void
IPerspectiveListener3.perspectiveClosed
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been closed.void
PerspectiveAdapter.perspectiveClosed
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
IPerspectiveListener3.perspectiveDeactivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been deactivated.void
PerspectiveAdapter.perspectiveDeactivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
IPerspectiveListener3.perspectiveOpened
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been opened.void
PerspectiveAdapter.perspectiveOpened
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
IPerspectiveListener4.perspectivePreDeactivate
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page is about to be deactivated.void
PerspectiveAdapter.perspectivePreDeactivate
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page is about to be deactivated.void
IPerspectiveListener3.perspectiveSavedAs
(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) Notifies this listener that a perspective in the given page has been saved as a new perspective with a different perspective descriptor.void
PerspectiveAdapter.perspectiveSavedAs
(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) void
IPerspectiveRegistry.revertPerspective
(IPerspectiveDescriptor perspToRevert) Reverts a perspective back to its original definition as specified in the plug-in manifest.void
IWorkbenchPage.savePerspectiveAs
(IPerspectiveDescriptor perspective) Saves the visible views, their layout, and the visible action sets for this page to the given perspective descriptor.void
IWorkbenchPage.setPerspective
(IPerspectiveDescriptor perspective) Changes the visible views, their layout, and the visible action sets within the page to match the given perspective descriptor. -
Uses of IPerspectiveDescriptor in org.eclipse.ui.actions
Modifier and TypeMethodDescriptionprotected ArrayList<IPerspectiveDescriptor>
PerspectiveMenu.getPerspectiveItems()
Returns the available list of perspectives to display in the menu.Modifier and TypeMethodDescriptionprotected void
OpenNewPageMenu.run
(IPerspectiveDescriptor desc) Deprecated.protected void
OpenNewWindowMenu.run
(IPerspectiveDescriptor desc) Deprecated.Opens a new window with a particular perspective and input.protected void
OpenPerspectiveMenu.run
(IPerspectiveDescriptor desc) Deprecated.Runs an action for a particular perspective.protected void
OpenPerspectiveMenu.run
(IPerspectiveDescriptor desc, SelectionEvent event) Deprecated.Runs an action for a particular perspective.protected abstract void
PerspectiveMenu.run
(IPerspectiveDescriptor desc) Runs an action for a particular perspective.protected void
PerspectiveMenu.run
(IPerspectiveDescriptor desc, SelectionEvent event) Runs an action for a particular perspective.ModifierConstructorDescriptionOpenPerspectiveAction
(IWorkbenchWindow window, IPerspectiveDescriptor descriptor, PerspectiveMenu callback) Constructs a new instance ofOpenPerspectiveAction
-
Uses of IPerspectiveDescriptor in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionPerspective.getDesc()
Returns the perspective.WorkbenchPage.getOpenPerspectives()
WorkbenchPage.getPerspective()
Returns the perspective.WorkbenchPage.getPerspectiveDesc
(String id) WorkbenchPage.getSortedPerspectives()
Modifier and TypeMethodDescriptionvoid
WorkbenchPage.closePerspective
(IPerspectiveDescriptor desc, boolean saveParts, boolean closePage) void
WorkbenchPage.closePerspective
(IPerspectiveDescriptor desc, String perspectiveId, boolean saveParts, boolean closePage) void
PerspectiveListenerList.firePerspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been activated.void
PerspectiveListenerList.firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) Notifies the listener that a perspective has been changed.void
PerspectiveListenerList.firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) Notifies the listener that a part has been affected in the given perspective.void
WorkbenchWindow.firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) Fires perspective changedvoid
WorkbenchWindow.firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) Fires perspective changed for an affected partvoid
PerspectiveListenerList.firePerspectiveClosed
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been closed.void
PerspectiveListenerList.firePerspectiveDeactivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been deactivated.void
PerspectiveListenerList.firePerspectiveOpened
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been opened.void
PerspectiveListenerList.firePerspectivePreDeactivate
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been deactivated.void
PerspectiveListenerList.firePerspectiveSavedAs
(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) Notifies the listener that a perspective has been deactivated.Workbench.openWorkbenchWindow
(IAdaptable input, IPerspectiveDescriptor descriptor, MWindow window, boolean newWindow) void
PerspectiveTracker.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
ToggleEditorsVisibilityAction.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
ToggleEditorsVisibilityAction.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) protected void
ChangeToPerspectiveMenu.run
(IPerspectiveDescriptor desc) protected abstract void
PerspectiveAction.run
(IWorkbenchPage page, IPerspectiveDescriptor persp) Runs the action, passing the active page and perspective.protected void
ToggleEditorsVisibilityAction.run
(IWorkbenchPage page, IPerspectiveDescriptor persp) void
WorkbenchPage.savePerspectiveAs
(IPerspectiveDescriptor perspective) void
WorkbenchPage.setPerspective
(IPerspectiveDescriptor perspective) protected void
PerspectiveTracker.update
(IPerspectiveDescriptor persp) Performs some function based on the active perspective in the window.ModifierConstructorDescriptionWorkbenchWindow
(IAdaptable input, IPerspectiveDescriptor pers) Creates and initializes a new workbench window.