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