Package | Description |
---|---|
org.eclipse.compare |
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
|
org.eclipse.debug.ui |
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
|
org.eclipse.debug.ui.sourcelookup |
Provides a user interface for debug platform source lookup facilities.
|
org.eclipse.search.ui.text |
Provides the base classes to implement a search result view part for searches with textual matches.
|
org.eclipse.team.ui |
Provides basic support for managing Team providers.
|
org.eclipse.team.ui.history |
Application programming interfaces for working with history.
|
org.eclipse.team.ui.synchronize |
Contains the team synchronization presentation framework and support
for the Synchronize View.
|
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.
|
org.eclipse.ui.databinding |
APIs for Workbench properties and observables for use with data binding
Package Specification
This package provides APIs that provide access to properties of Workbench objects for
use with the data binding framework.
|
org.eclipse.ui.ide |
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
|
org.eclipse.ui.navigator |
Provides the Common Navigator framework.
|
org.eclipse.ui.part |
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
|
org.eclipse.ui.views.markers |
Utility classes for working with markers in views
|
org.eclipse.ui.views.navigator |
Provides the standard Resource Navigator view which
presents the tree of resources in the workspace.
|
Modifier and Type | Method and Description |
---|---|
static void |
CompareUI.openCompareEditorOnPage(CompareEditorInput input,
IWorkbenchPage page)
Performs the comparison described by the given input and opens a
compare editor on the result in the given workbench page.
|
Modifier and Type | Method and Description |
---|---|
static void |
DebugUITools.displaySource(ISourceLookupResult result,
IWorkbenchPage page)
Displays the given source lookup result in an editor in the given workbench
page.
|
Modifier and Type | Method and Description |
---|---|
void |
ISourceDisplay.displaySource(Object element,
IWorkbenchPage page,
boolean forceSourceLookup)
Displays source for the given element in the specified page.
|
Modifier and Type | Method and Description |
---|---|
protected IEditorPart |
AbstractTextSearchViewPage.open(IWorkbenchPage page,
IFile file,
boolean activate)
Opens an editor on the given file resource.
|
protected IEditorPart |
AbstractTextSearchViewPage.openAndSelect(IWorkbenchPage page,
IFile file,
int offset,
int length,
boolean activate)
Opens an editor on the given file resource and tries to select the given offset and length.
|
Modifier and Type | Method and Description |
---|---|
static IHistoryView |
TeamUI.showHistoryFor(IWorkbenchPage page,
Object input,
IHistoryPageSource pageSource)
Shows a history view containing the given input and returns a handle to the view
or
null if no history was available for the given input. |
Modifier and Type | Method and Description |
---|---|
static AbstractDecoratedTextEditor |
RevisionAnnotationController.openEditor(IWorkbenchPage page,
IFile file)
Open a text editor that supports the use of a revision ruler on the given
file.
|
static AbstractDecoratedTextEditor |
RevisionAnnotationController.openEditor(IWorkbenchPage page,
Object fileRevision,
IStorage storage)
Open a text editor that supports the use of a revision ruler on the given
file.
|
Constructor and Description |
---|
RevisionAnnotationController(IWorkbenchPage page,
IFile file,
ISelectionProvider historyList)
Create a controller that links an editor on a local file to a history list.
|
RevisionAnnotationController(IWorkbenchPage page,
IStorageEditorInput editorInput,
ISelectionProvider historyList)
Create a controller that links an editor input on a remote file to a history list.
|
Constructor and Description |
---|
SaveableCompareEditorInput(CompareConfiguration configuration,
IWorkbenchPage page)
Creates a
LocalResourceCompareEditorInput which is initialized with the given
compare configuration. |
Modifier and Type | Method and Description |
---|---|
IWorkbenchPage |
IWorkbenchWindow.getActivePage()
Returns the currently active page for this workbench window.
|
IWorkbenchPage |
IPageService.getActivePage()
Returns the active page.
|
IWorkbenchPage |
IWorkbenchPartReference.getPage()
Returns the workbench page that contains this part
|
IWorkbenchPage |
IWorkbenchSite.getPage()
Returns the page containing this workbench site.
|
IWorkbenchPage[] |
IWorkbenchWindow.getPages()
Returns a list of the pages in this workbench window.
|
IWorkbenchPage |
IWorkbenchWindow.openPage(IAdaptable input)
Creates and opens a new workbench page.
|
IWorkbenchPage |
IWorkbenchWindow.openPage(String perspectiveId,
IAdaptable input)
Creates and opens a new workbench page.
|
IWorkbenchPage |
IWorkbench.showPerspective(String perspectiveId,
IWorkbenchWindow window)
Shows the specified perspective to the user.
|
IWorkbenchPage |
IWorkbench.showPerspective(String perspectiveId,
IWorkbenchWindow window,
IAdaptable input)
Shows the specified perspective to the user.
|
Modifier and Type | Method and Description |
---|---|
void |
IEditorActionBarContributor.init(IActionBars bars,
IWorkbenchPage page)
Initializes this contributor, which is expected to add contributions as
required to the given action bars and global action handlers.
|
void |
IPageListener.pageActivated(IWorkbenchPage page)
Notifies this listener that the given page has been activated.
|
void |
IPageListener.pageClosed(IWorkbenchPage page)
Notifies this listener that the given page has been closed.
|
void |
IPageListener.pageOpened(IWorkbenchPage page)
Notifies this listener that the given page has been opened.
|
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 |
IWorkbenchWindow.setActivePage(IWorkbenchPage page)
Sets or clears the currently active page for this workbench window.
|
boolean |
Saveable.show(IWorkbenchPage page)
Attempts to show this saveable in the given page and returns
true on success. |
Constructor and Description |
---|
OpenFileAction(IWorkbenchPage page)
Creates a new action that will open editors on the then-selected file
resources.
|
OpenFileAction(IWorkbenchPage page,
IEditorDescriptor descriptor)
Creates a new action that will open instances of the specified editor on
the then-selected file resources.
|
OpenSystemEditorAction(IWorkbenchPage page)
Creates a new action that will open system editors on the then-selected file
resources.
|
OpenWithMenu(IWorkbenchPage page)
Deprecated.
As there is no way to set the file with this constructor use a
different constructor.
|
OpenWithMenu(IWorkbenchPage page,
IAdaptable file)
Constructs a new instance of
OpenWithMenu . |
Modifier and Type | Method and Description |
---|---|
static IObservableValue<IWorkbenchPage> |
WorkbenchObservables.observeActiveWorkbenchPage(IWorkbenchWindow window)
Returns an observable value that tracks the active workbench page for the
given workbench window.
|
Modifier and Type | Method and Description |
---|---|
static IEditorPart |
ResourceUtil.findEditor(IWorkbenchPage page,
IFile file)
Returns the editor in the given page whose input represents the given file,
or
null if there is no such editor. |
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IEditorInput input,
String editorId)
Opens an editor on the given object.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IEditorInput input,
String editorId,
boolean activate)
Opens an editor on the given object.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IFile input)
Opens an editor on the given file resource.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IFile input,
boolean activate)
Opens an editor on the given file resource.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IFile input,
boolean activate,
boolean determineContentType)
Opens an editor on the given file resource.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IFile input,
String editorId)
Opens an editor on the given file resource.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IFile input,
String editorId,
boolean activate)
Opens an editor on the given file resource.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IMarker marker)
Opens an editor on the file resource of the given marker.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
IMarker marker,
boolean activate)
Opens an editor on the file resource of the given marker.
|
static IEditorPart |
IDE.openEditor(IWorkbenchPage page,
URI uri,
String editorId,
boolean activate)
Opens an editor on the given IFileStore object.
|
static IEditorPart |
IDE.openEditorOnFileStore(IWorkbenchPage page,
IFileStore fileStore)
Opens an editor on the given IFileStore object.
|
static IEditorReference[] |
IDE.openEditors(IWorkbenchPage page,
IFile[] inputs)
Opens editors on given file resources.
|
static IEditorPart |
IDE.openInternalEditorOnFileStore(IWorkbenchPage page,
IFileStore fileStore)
Opens an internal editor on the given IFileStore object.
|
Modifier and Type | Method and Description |
---|---|
IWorkbenchPage |
ICommonViewerWorkbenchSite.getPage()
Returns the page corresponding to this viewer site.
|
Modifier and Type | Method and Description |
---|---|
void |
ILinkHelper.activateEditor(IWorkbenchPage aPage,
IStructuredSelection aSelection)
Activate the correct editor for aSelection.
|
Modifier and Type | Method and Description |
---|---|
IWorkbenchPage |
EditorActionBarContributor.getPage()
Returns this contributor's workbench page.
|
IWorkbenchPage |
MultiPageEditorSite.getPage()
The
MultiPageEditorSite implementation of this
IWorkbenchPartSite method forwards to the multi-page
editor to return the workbench page. |
IWorkbenchPage |
PageSite.getPage() |
Modifier and Type | Method and Description |
---|---|
void |
EditorActionBarContributor.init(IActionBars bars,
IWorkbenchPage page)
The
EditorActionBarContributor implementation of this
IEditorActionBarContributor method remembers the page
then forwards the call to init(IActionBars) for
backward compatibility |
Modifier and Type | Method and Description |
---|---|
static boolean |
MarkerViewUtil.showMarker(IWorkbenchPage page,
IMarker marker,
boolean showView)
Shows the given marker in the appropriate view in the given page.
|
static boolean |
MarkerViewUtil.showMarkers(IWorkbenchPage page,
IMarker[] markers,
boolean showView)
Shows the given markers in the appropriate view for the first marker in
the given page.
|
Constructor and Description |
---|
ShowInNavigatorAction(IWorkbenchPage page,
ISelectionProvider viewer)
Deprecated.
Create a new instance of this class.
|
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.