Uses of Interface
org.eclipse.ui.IWorkbenchPage
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a user interface for debug platform source lookup facilities.
Provides the base classes to implement a search result view part for searches with textual matches.
Provides basic support for managing Team providers.
Application programming interfaces for working with history.
Contains the team synchronization presentation framework and support
for the Synchronize View.
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.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
Provides the Common Navigator framework.
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
Utility classes for working with markers in views
-
Uses of IWorkbenchPage in org.eclipse.compare
Modifier and TypeMethodDescriptionstatic 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. -
Uses of IWorkbenchPage in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionvoid
CompareLinkHelper.activateEditor
(IWorkbenchPage aPage, IStructuredSelection aSelection) void
CompareUIPlugin.openCompareEditor
(CompareEditorInput input, IWorkbenchPage page, IReusableEditor editor, boolean activate) Performs the comparison described by the given input and opens a compare editor on the result. -
Uses of IWorkbenchPage in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionstatic void
DebugUITools.displaySource
(ISourceLookupResult result, IWorkbenchPage page) Displays the given source lookup result in an editor in the given workbench page. -
Uses of IWorkbenchPage in org.eclipse.debug.ui.sourcelookup
Modifier and TypeMethodDescriptionvoid
ISourceDisplay.displaySource
(Object element, IWorkbenchPage page, boolean forceSourceLookup) Displays source for the given element in the specified page. -
Uses of IWorkbenchPage in org.eclipse.search.ui.text
Modifier and TypeMethodDescriptionprotected final IEditorPart
AbstractTextSearchViewPage.open
(IWorkbenchPage page, IFile file, boolean activate) Opens an editor on the given file resource.protected final 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. -
Uses of IWorkbenchPage in org.eclipse.team.ui
Modifier and TypeMethodDescriptionstatic IHistoryView
TeamUI.showHistoryFor
(IWorkbenchPage page, Object input, IHistoryPageSource pageSource) Shows a history view containing the given input and returns a handle to the view ornull
if no history was available for the given input. -
Uses of IWorkbenchPage in org.eclipse.team.ui.history
Modifier and TypeMethodDescriptionstatic 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.static AbstractDecoratedTextEditor
RevisionAnnotationController.openEditor
(IWorkbenchPage page, IFile file) Open a text editor that supports the use of a revision ruler on the given file.ModifierConstructorDescriptionRevisionAnnotationController
(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. -
Uses of IWorkbenchPage in org.eclipse.team.ui.synchronize
ModifierConstructorDescriptionSaveableCompareEditorInput
(CompareConfiguration configuration, IWorkbenchPage page) Creates aLocalResourceCompareEditorInput
which is initialized with the given compare configuration. -
Uses of IWorkbenchPage in org.eclipse.ui
Modifier and TypeMethodDescriptionIPageService.getActivePage()
Returns the active page.IWorkbenchWindow.getActivePage()
Returns the currently active page for this workbench window.IWorkbenchPartReference.getPage()
IWorkbenchSite.getPage()
Returns the page containing this workbench site.IWorkbenchWindow.getPages()
Returns a list of the pages in this workbench window.IWorkbenchWindow.openPage
(String perspectiveId, IAdaptable input) Creates and opens a new workbench page.IWorkbenchWindow.openPage
(IAdaptable input) Creates and opens a new workbench page.IWorkbench.showPerspective
(String perspectiveId, IWorkbenchWindow window) Shows the specified perspective to the user.IWorkbench.showPerspective
(String perspectiveId, IWorkbenchWindow window, IAdaptable input) Shows the specified perspective to the user.Modifier and TypeMethodDescriptionvoid
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
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
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 returnstrue
on success. -
Uses of IWorkbenchPage in org.eclipse.ui.actions
ModifierConstructorDescriptionOpenFileAction
(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.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 ofOpenWithMenu
. -
Uses of IWorkbenchPage in org.eclipse.ui.databinding.typed
Modifier and TypeMethodDescriptionstatic <S extends IPageService>
IValueProperty<S,IWorkbenchPage> WorkbenchProperties.activePage()
Returns a property for observing the active page of a workbench window. -
Uses of IWorkbenchPage in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionstatic IEditorPart
ResourceUtil.findEditor
(IWorkbenchPage page, IFile file) Returns the editor in the given page whose input represents the given file, ornull
if there is no such editor.static IEditorPart
IDE.openEditor
(IWorkbenchPage page, URI uri, String editorId, boolean activate) Opens an editor on the given IFileStore 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, 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.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. -
Uses of IWorkbenchPage in org.eclipse.ui.internal
Modifier and TypeClassDescriptionclass
A collection of views and editors in a workbench.Modifier and TypeMethodDescriptionfinal IWorkbenchPage
PageEventAction.getActivePage()
Returns the currently active page in the workbench window.SlavePageService.getActivePage()
WorkbenchWindow.getActivePage()
PartSite.getPage()
Returns the page containing this workbench site's part.WorkbenchPartReference.getPage()
WorkbenchWindow.getPages()
WorkbenchWindow.openPage
(String perspectiveId, IAdaptable input) WorkbenchWindow.openPage
(IAdaptable input) Workbench.showPerspective
(String perspectiveId, IWorkbenchWindow window) Workbench.showPerspective
(String perspectiveId, IWorkbenchWindow targetWindow, IAdaptable input) Modifier and TypeMethodDescriptionprotected void
FilteredTableBaseHandler.activate
(IWorkbenchPage page, Object selectedItem) Activate the selected item.NavigationHistory.createEntry
(IWorkbenchPage page, IEditorPart part, INavigationLocation location) void
PageListenerList.firePageActivated
(IWorkbenchPage page) Notifies the listener that a part has been activated.void
PageListenerList.firePageClosed
(IWorkbenchPage page) Notifies the listener that a part has been closedvoid
PageListenerList.firePageOpened
(IWorkbenchPage page) Notifies the listener that a part has been opened.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.void
EditorActionBuilder.ExternalContributor.init
(IActionBars bars, IWorkbenchPage page) void
CloseAllSavedAction.pageActivated
(IWorkbenchPage page) void
NavigationHistoryAction.pageActivated
(IWorkbenchPage page) void
PageEventAction.pageActivated
(IWorkbenchPage page) ThePageEventAction
implementation of thisIPageListener
method records that the given page is active.void
PerspectiveTracker.pageActivated
(IWorkbenchPage page) void
CloseAllSavedAction.pageClosed
(IWorkbenchPage page) void
NavigationHistoryAction.pageClosed
(IWorkbenchPage page) void
PageEventAction.pageClosed
(IWorkbenchPage page) ThePageEventAction
implementation of thisIPageListener
method clears the active page if it just closed.void
PerspectiveTracker.pageClosed
(IWorkbenchPage page) void
PageEventAction.pageOpened
(IWorkbenchPage page) ThePageEventAction
implementation of thisIPageListener
method does nothing.void
PerspectiveTracker.pageOpened
(IWorkbenchPage page) void
PerspectiveTracker.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
ToggleEditorsVisibilityAction.perspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) void
ToggleEditorsVisibilityAction.perspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) 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
WorkbenchWindow.setActivePage
(IWorkbenchPage in) void
WorkbenchPartReference.setPage
(IWorkbenchPage newPage) boolean
DefaultSaveable.show
(IWorkbenchPage page) ModifierConstructorDescriptionEditorReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part, IEditorInput input, org.eclipse.ui.internal.registry.EditorDescriptor descriptor, IMemento editorState) Creates a new NavigationHistory to keep the NavigationLocation entries of the specified page.NavigationHistoryEntry
(NavigationHistoryEditorInfo editorInfo, IWorkbenchPage page, IEditorPart part, INavigationLocation location) Constructs a new HistoryEntry and intializes its editor input and editor id.ViewReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part, org.eclipse.ui.internal.registry.ViewDescriptor descriptor) WorkbenchPartReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part) -
Uses of IWorkbenchPage in org.eclipse.ui.part
Modifier and TypeMethodDescriptionEditorActionBarContributor.getPage()
Returns this contributor's workbench page.MultiPageEditorSite.getPage()
TheMultiPageEditorSite
implementation of thisIWorkbenchPartSite
method forwards to the multi-page editor to return the workbench page.PageSite.getPage()
Modifier and TypeMethodDescriptionvoid
EditorActionBarContributor.init
(IActionBars bars, IWorkbenchPage page) TheEditorActionBarContributor
implementation of thisIEditorActionBarContributor
method remembers the page then forwards the call toinit(IActionBars)
for backward compatibility -
Uses of IWorkbenchPage in org.eclipse.ui.views.markers
Modifier and TypeMethodDescriptionstatic 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.