Package | Description |
---|---|
org.eclipse.ui |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.actions |
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
|
Modifier and Type | Method and Description |
---|---|
IPerspectiveDescriptor |
IPerspectiveRegistry.clonePerspective(String id,
String label,
IPerspectiveDescriptor desc)
Clones an existing perspective.
|
IPerspectiveDescriptor |
IPerspectiveRegistry.findPerspectiveWithId(String perspectiveId)
Finds and returns the registered perspective with the given perspective id.
|
IPerspectiveDescriptor |
IPerspectiveRegistry.findPerspectiveWithLabel(String label)
Finds and returns the registered perspective with the given label.
|
IPerspectiveDescriptor |
IPageLayout.getDescriptor()
Returns the perspective descriptor for the perspective being layed out.
|
IPerspectiveDescriptor[] |
IWorkbenchPage.getOpenPerspectives()
Returns the descriptors for the perspectives that are open in this page,
in the order in which they were opened.
|
IPerspectiveDescriptor |
IWorkbenchPage.getPerspective()
Returns the current perspective descriptor for this page, or
null if there is no current perspective. |
IPerspectiveDescriptor[] |
IPerspectiveRegistry.getPerspectives()
Returns a list of the perspectives known to the workbench.
|
IPerspectiveDescriptor[] |
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 Type | Method and Description |
---|---|
IPerspectiveDescriptor |
IPerspectiveRegistry.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 |
PerspectiveAdapter.perspectiveChanged(IWorkbenchPage page,
IPerspectiveDescriptor perspective,
IWorkbenchPartReference partRef,
String changeId) |
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 |
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 |
PerspectiveAdapter.perspectiveChanged(IWorkbenchPage page,
IPerspectiveDescriptor perspective,
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 |
PerspectiveAdapter.perspectivePreDeactivate(IWorkbenchPage page,
IPerspectiveDescriptor perspective)
Notifies this listener that a perspective in the given page is about to
be deactivated.
|
void |
IPerspectiveListener4.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenNewPageMenu.run(IPerspectiveDescriptor desc)
Deprecated.
|
protected abstract void |
PerspectiveMenu.run(IPerspectiveDescriptor desc)
Runs an action for a particular perspective.
|
protected void |
OpenNewWindowMenu.run(IPerspectiveDescriptor desc)
Deprecated.
|
protected void |
OpenPerspectiveMenu.run(IPerspectiveDescriptor desc)
Deprecated.
Runs an action for a particular perspective.
|
protected void |
PerspectiveMenu.run(IPerspectiveDescriptor desc,
SelectionEvent event)
Runs an action for a particular perspective.
|
protected void |
OpenPerspectiveMenu.run(IPerspectiveDescriptor desc,
SelectionEvent event)
Deprecated.
Runs an action for a particular perspective.
|
Constructor and Description |
---|
OpenPerspectiveAction(IWorkbenchWindow window,
IPerspectiveDescriptor descriptor,
PerspectiveMenu callback)
Constructs a new instance of
OpenPerspectiveAction |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.