Uses of Interface
org.eclipse.ui.IPerspectiveDescriptor
Packages that use 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
Methods in org.eclipse.ui that return IPerspectiveDescriptorModifier 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, ornullif 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).Methods in org.eclipse.ui with parameters of type IPerspectiveDescriptorModifier and TypeMethodDescriptionIPerspectiveRegistry.clonePerspective(String id, String label, IPerspectiveDescriptor desc) Clones an existing perspective.voidIWorkbenchPage.closePerspective(IPerspectiveDescriptor desc, boolean saveParts, boolean closePage) Closes the specified perspective in this page.voidIPerspectiveRegistry.deletePerspective(IPerspectiveDescriptor persp) Deletes a perspective.voidIPerspectiveListener.perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been activated.voidPerspectiveAdapter.perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) voidIPerspectiveListener.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).voidIPerspectiveListener2.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).voidPerspectiveAdapter.perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) voidPerspectiveAdapter.perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) voidIPerspectiveListener3.perspectiveClosed(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been closed.voidPerspectiveAdapter.perspectiveClosed(IWorkbenchPage page, IPerspectiveDescriptor perspective) voidIPerspectiveListener3.perspectiveDeactivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been deactivated.voidPerspectiveAdapter.perspectiveDeactivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) voidIPerspectiveListener3.perspectiveOpened(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page has been opened.voidPerspectiveAdapter.perspectiveOpened(IWorkbenchPage page, IPerspectiveDescriptor perspective) voidIPerspectiveListener4.perspectivePreDeactivate(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page is about to be deactivated.voidPerspectiveAdapter.perspectivePreDeactivate(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies this listener that a perspective in the given page is about to be deactivated.voidIPerspectiveListener3.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.voidPerspectiveAdapter.perspectiveSavedAs(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) voidIPerspectiveRegistry.revertPerspective(IPerspectiveDescriptor perspToRevert) Reverts a perspective back to its original definition as specified in the plug-in manifest.voidIWorkbenchPage.savePerspectiveAs(IPerspectiveDescriptor perspective) Saves the visible views, their layout, and the visible action sets for this page to the given perspective descriptor.voidIWorkbenchPage.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
Methods in org.eclipse.ui.actions that return types with arguments of type IPerspectiveDescriptorModifier and TypeMethodDescriptionprotected ArrayList<IPerspectiveDescriptor>PerspectiveMenu.getPerspectiveItems()Returns the available list of perspectives to display in the menu.Methods in org.eclipse.ui.actions with parameters of type IPerspectiveDescriptorModifier and TypeMethodDescriptionprotected voidOpenNewPageMenu.run(IPerspectiveDescriptor desc) Deprecated.protected voidOpenNewWindowMenu.run(IPerspectiveDescriptor desc) Deprecated.Opens a new window with a particular perspective and input.protected voidOpenPerspectiveMenu.run(IPerspectiveDescriptor desc) Deprecated.Runs an action for a particular perspective.protected voidOpenPerspectiveMenu.run(IPerspectiveDescriptor desc, SelectionEvent event) Deprecated.Runs an action for a particular perspective.protected abstract voidPerspectiveMenu.run(IPerspectiveDescriptor desc) Runs an action for a particular perspective.protected voidPerspectiveMenu.run(IPerspectiveDescriptor desc, SelectionEvent event) Runs an action for a particular perspective.Constructors in org.eclipse.ui.actions with parameters of type IPerspectiveDescriptorModifierConstructorDescriptionOpenPerspectiveAction(IWorkbenchWindow window, IPerspectiveDescriptor descriptor, PerspectiveMenu callback) Constructs a new instance ofOpenPerspectiveAction