Uses of Interface
org.eclipse.ui.IEditorPart
Package
Description
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a set of actions related to running and debugging applications.
Provides a user interface for debug platform source lookup facilities.
Search actions
Provides the base classes to implement a search result view part for searches with textual matches.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.Support for forms-based multi-page editors.
Provides support for integrating handlers into the Eclipse workbench.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
Classes that provide the basic workbench UI support for undo and redo of
operations.
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Provides interfaces to for the
org.eclipse.ui.editors.quickDiffReferenceProvider
extension point and adds an action to enable quick diff display for an editor.-
Uses of IEditorPart in org.eclipse.compare.internal
Modifier and TypeClassDescriptionclass
A CompareEditor takes a ICompareEditorInput as input.Modifier and TypeMethodDescriptionstatic IEditorPart[]
CompareUIPlugin.getDirtyEditors()
Returns an array of all editors that have an unsaved content.Modifier and TypeMethodDescriptionvoid
CompareEditorContributor.setActiveEditor
(IEditorPart targetEditor) -
Uses of IEditorPart in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionboolean
IDebugEditorPresentation.addAnnotations
(IEditorPart editorPart, IStackFrame frame) Positions and adds annotations to the given editor for the specified stack frame and returns whether any annotations were added.IInstructionPointerPresentation.getInstructionPointerAnnotation
(IEditorPart editorPart, IStackFrame frame) Returns an annotation used for the specified stack frame in the specified editor, ornull
if a default annotation should be used.IInstructionPointerPresentation.getInstructionPointerAnnotationType
(IEditorPart editorPart, IStackFrame frame) Returns an identifier of aorg.eclipse.ui.editors.annotationTypes
extension used for the specified stack frame in the specified editor, ornull
if a default annotation should be used.IInstructionPointerPresentation.getInstructionPointerImage
(IEditorPart editorPart, IStackFrame frame) Returns the instruction pointer image used for the specified stack frame in the specified editor, ornull
if a default image should be used.IInstructionPointerPresentation.getInstructionPointerText
(IEditorPart editorPart, IStackFrame frame) Returns the text to associate with the instruction pointer annotation used for the specified stack frame in the specified editor, ornull
if a default message should be used.ILaunchShortcut2.getLaunchableResource
(IEditorPart editorpart) Returns anIResource
that maps to given editor part for launch purposes, ornull
if none.ILaunchShortcut2.getLaunchConfigurations
(IEditorPart editorpart) Returns an array of existingILaunchConfiguration
s that could be used to launch the given editor part, an empty array if one could be created but does not exist, ornull
if default resource mappings should be used to derive associated configurationsvoid
ILaunchShortcut.launch
(IEditorPart editor, String mode) Locates a launchable entity in the given active editor, and launches an application in the specified mode.void
IDebugEditorPresentation.removeAnnotations
(IEditorPart editorPart, IThread thread) Removes any debug related annotations from the given editor. -
Uses of IEditorPart in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionvoid
AddMemoryRenderingActionDelegate.setActiveEditor
(IAction action, IEditorPart targetEditor) void
RulerBreakpointTypesActionDelegate.setActiveEditor
(IAction callerAction, IEditorPart targetEditor) Deprecated.void
RulerRunToLineActionDelegate.setActiveEditor
(IAction callerAction, IEditorPart targetEditor) void
RulerToggleBreakpointActionDelegate.setActiveEditor
(IAction callerAction, IEditorPart targetEditor) void
RunToLineActionDelegate.setActiveEditor
(IAction action, IEditorPart targetEditor) -
Uses of IEditorPart in org.eclipse.debug.ui.sourcelookup
Modifier and TypeClassDescriptionclass
Default editor displayed when source is not found. -
Uses of IEditorPart in org.eclipse.search.ui.actions
ModifierConstructorDescriptionTextSearchGroup
(IEditorPart editor) Constructs a TextSearchGroup for adding actions to the context menu of the editor provided. -
Uses of IEditorPart 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.Modifier and TypeMethodDescriptionMatch[]
IEditorMatchAdapter.computeContainedMatches
(AbstractTextSearchResult result, IEditorPart editor) Returns all matches that are contained in the element shown in the given editor.boolean
IEditorMatchAdapter.isShownInEditor
(Match match, IEditorPart editor) Determines whether a match should be displayed in the given editor. -
Uses of IEditorPart in org.eclipse.ui
Modifier and TypeInterfaceDescriptioninterface
Interface for editor parts that represent an in-place style editor.interface
Interface for reusable editors.Modifier and TypeMethodDescriptionIWorkbenchPage.findEditor
(IEditorInput input) Returns the editor with the specified input.IWorkbenchPage.getActiveEditor()
Returns the active editor open in this page.IWorkbenchPage.getDirtyEditors()
Returns a list of dirty editors in this page.IEditorReference.getEditor
(boolean restore) Returns the editor referenced by this object.protected IEditorPart
NavigationLocation.getEditorPart()
Returns the part that the receiver holds the location for.IWorkbenchPage.getEditors()
Deprecated.IWorkbenchPage.openEditor
(IEditorInput input, String editorId) Opens an editor on the given input.IWorkbenchPage.openEditor
(IEditorInput input, String editorId, boolean activate) Opens an editor on the given input.IWorkbenchPage.openEditor
(IEditorInput input, String editorId, boolean activate, int matchFlags) Opens an editor on the given input.Modifier and TypeMethodDescriptionboolean
IWorkbenchPage.closeEditor
(IEditorPart editor, boolean save) Closes the given editor.boolean
IWorkbenchPage.isEditorPinned
(IEditorPart editor) Returnstrue
if the editor is pinned and should not be reused.void
INavigationHistory.markLocation
(IEditorPart part) Mark the current location into the history.boolean
IWorkbenchPage.saveEditor
(IEditorPart editor, boolean confirm) Saves the contents of the given editor if dirty.void
IEditorActionBarContributor.setActiveEditor
(IEditorPart targetEditor) Sets the active editor for the contributor.void
IEditorActionDelegate.setActiveEditor
(IAction action, IEditorPart targetEditor) Sets the active editor for the delegate.ModifierConstructorDescriptionprotected
NavigationLocation
(IEditorPart editorPart) Constructs a NavigationLocation with its editor part. -
Uses of IEditorPart in org.eclipse.ui.databinding.typed
Modifier and TypeMethodDescriptionstatic <S extends IEditorPart>
IValueProperty<S,IEditorInput> WorkbenchProperties.editorInput()
Returns a property for observing the editor input an editor part. -
Uses of IEditorPart in org.eclipse.ui.editors.text
Modifier and TypeMethodDescriptionvoid
TextEditorActionContributor.setActiveEditor
(IEditorPart part) -
Uses of IEditorPart in org.eclipse.ui.forms.editor
Modifier and TypeInterfaceDescriptioninterface
Interface that all GUI pages need to implement in order to be added to FormEditor part.Modifier and TypeClassDescriptionclass
This class forms a base of multi-page form editors that typically use one or more pages with forms and one page for raw source of the editor input.class
A base class that all pages that should be added to FormEditor must subclass.class
A variation ofFormEditor
, this editor has a stable header that does not change when pages are switched.Modifier and TypeMethodDescriptionFormEditor.getActiveEditor()
Widens the visibility of the method in the superclass.Modifier and TypeMethodDescriptionvoid
FormEditor.addPage
(int index, IEditorPart editor, IEditorInput input) Adds a complete editor part to the multi-page editor at the specified position.int
FormEditor.addPage
(IEditorPart editor, IEditorInput input) Adds a complete editor part to the multi-page editor. -
Uses of IEditorPart in org.eclipse.ui.handlers
Modifier and TypeMethodDescriptionstatic IEditorPart
HandlerUtil.getActiveEditor
(ExecutionEvent event) Return the active editor.static IEditorPart
HandlerUtil.getActiveEditorChecked
(ExecutionEvent event) Return the active editor. -
Uses of IEditorPart 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 IEditorPart
IDE.openInternalEditorOnFileStore
(IWorkbenchPage page, IFileStore fileStore) Opens an internal editor on the given IFileStore object.Modifier and TypeMethodDescriptionstatic void
IDE.gotoMarker
(IEditorPart editor, IMarker marker) Sets the cursor and selection state for the given editor to reveal the position of the given marker. -
Uses of IEditorPart in org.eclipse.ui.internal
Modifier and TypeClassDescriptionclass
This part is shown instead the editors with errors.Modifier and TypeMethodDescriptionWorkbenchPage.findEditor
(IEditorInput input) static IEditorPart
InternalHandlerUtil.getActiveEditor
(Object appContext) Return the active editor.WorkbenchPage.getActiveEditor()
WorkbenchPage.getDirtyEditors()
EditorReference.getEditor
(boolean restore) EditorSite.getEditorPart()
Returns the editorWorkbenchPage.getEditors()
WorkbenchPage.openEditor
(IEditorInput input, String editorID) See IWorkbenchPage.WorkbenchPage.openEditor
(IEditorInput input, String editorID, boolean activate) See IWorkbenchPage.WorkbenchPage.openEditor
(IEditorInput input, String editorID, boolean activate, int matchFlags) See IWorkbenchPage.WorkbenchPage.openEditor
(IEditorInput input, String editorID, boolean activate, int matchFlags, IMemento editorState, boolean notify) This is not public API but for use internally. editorState can benull
.WorkbenchPage.openEditorFromDescriptor
(IEditorInput fileEditorInput, IEditorDescriptor editorDescriptor, boolean activate, IMemento editorState) Opens an editor represented by the descriptor with the given input.Modifier and TypeMethodDescriptionboolean
WorkbenchPage.closeEditor
(IEditorPart editor, boolean save) See IWorkbenchPage#closeEditorNavigationHistory.createEntry
(IWorkbenchPage page, IEditorPart part, INavigationLocation location) void
EditorPluginAction.editorChanged
(IEditorPart part) Handles editor change by re-registering for selection changes and updating IEditorActionDelegate.boolean
WorkbenchPage.isEditorPinned
(IEditorPart editor) See IWorkbenchPage.void
NavigationHistory.markEditor
(IEditorPart part) void
NavigationHistory.markLocation
(IEditorPart part) boolean
WorkbenchPage.saveEditor
(IEditorPart editor, boolean confirm) Saves an editors in the workbench.void
EditorActionBuilder.ExternalContributor.setActiveEditor
(IEditorPart editor) boolean
NavigationHistory.updateActive
(IEditorPart editor) ModifierConstructorDescriptionEditorPluginAction
(IConfigurationElement actionElement, IEditorPart part, String id, int style) This class adds the requirement that action delegates loaded on demand implement IViewActionDelegateNavigationHistoryEntry
(NavigationHistoryEditorInfo editorInfo, IWorkbenchPage page, IEditorPart part, INavigationLocation location) Constructs a new HistoryEntry and intializes its editor input and editor id. -
Uses of IEditorPart in org.eclipse.ui.operations
ModifierConstructorDescriptionNonLocalUndoUserApprover
(IUndoContext context, IEditorPart part, Object[] affectedObjects, Class<?> preferredComparisonClass) Create a NonLocalUndoUserApprover associated with the specified editor and undo context -
Uses of IEditorPart in org.eclipse.ui.part
Modifier and TypeClassDescriptionclass
A AbstractMultiEditor is a composite of editors.class
Abstract base implementation of all workbench editors.class
A MultiEditor is a composite of editors.class
A multi-page editor is an editor with multiple pages, each of which may contain an editor or an arbitrary SWT control.Modifier and TypeMethodDescriptionfinal IEditorPart[]
MultiPageEditorPart.findEditors
(IEditorInput input) Find the editors contained in this multi-page editor whose editor input match the provided input.final IEditorPart
AbstractMultiEditor.getActiveEditor()
Returns the active inner editor.protected IEditorPart
MultiPageEditorPart.getActiveEditor()
Returns the active nested editor if there is one.protected IEditorPart
MultiPageEditorPart.getEditor
(int pageIndex) Returns the editor for the given page index.MultiPageEditorSite.getEditor()
Returns the nested editor.final IEditorPart[]
AbstractMultiEditor.getInnerEditors()
Returns an array with all inner editors.Modifier and TypeMethodDescriptionvoid
AbstractMultiEditor.activateEditor
(IEditorPart part) Activates the given nested editor.void
MultiEditor.activateEditor
(IEditorPart part) Activates the given nested editor.void
MultiPageEditorPart.addPage
(int index, IEditorPart editor, IEditorInput input) Creates and adds a new page containing the given editor to this multi-page editor.int
MultiPageEditorPart.addPage
(IEditorPart editor, IEditorInput input) Creates and adds a new page containing the given editor to this multi-page editor.MultiEditor.createInnerPartControl
(Composite parent, IEditorPart e) Create the control of the inner editor.protected IEditorSite
MultiPageEditorPart.createSite
(IEditorPart editor) Creates the site for the given nested editor.protected abstract void
MultiEditor.drawGradient
(IEditorPart innerEditor, MultiEditor.Gradient g) Draw the gradient in the title bar.protected int
AbstractMultiEditor.getIndex
(IEditorPart editor) Returns the index of the given nested editor.void
EditorActionBarContributor.setActiveEditor
(IEditorPart targetEditor) Sets the active editor for the contributor.void
MultiPageEditorActionBarContributor.setActiveEditor
(IEditorPart part) final void
MultiPageEditorPart.setActiveEditor
(IEditorPart editorPart) Set the active page of this multi-page editor to the page that contains the given editor part.abstract void
MultiPageEditorActionBarContributor.setActivePage
(IEditorPart activeEditor) Sets the active page of the the multi-page editor to be the given editor.final void
AbstractMultiEditor.setChildren
(IEditorPart[] children) Set the inner editors.void
MultiEditor.updateGradient
(IEditorPart editor) Updates the gradient in the title bar.ModifierConstructorDescriptionMultiPageEditorSite
(MultiPageEditorPart multiPageEditor, IEditorPart editor) Creates a site for the given editor nested within the given multi-page editor. -
Uses of IEditorPart in org.eclipse.ui.texteditor
Modifier and TypeClassDescriptionclass
An intermediate editor comprising functionality not present in the leanerAbstractTextEditor
, but used in many heavy weight (and especially source editing) editors, such as line numbers, change ruler, overview ruler, print margins, current line highlighting, etc.class
Abstract base implementation of a text editor.class
Capable of handling input elements that have an associated status with them.Modifier and TypeMethodDescriptionprotected final IEditorPart
BasicTextEditorActionContributor.getActiveEditorPart()
Returns the active editor part.Modifier and TypeMethodDescriptionvoid
TextSelectionNavigationLocation.partSaved
(IEditorPart part) Hook method which is called when the given editor has been saved.void
AbstractRulerActionDelegate.setActiveEditor
(IAction callerAction, IEditorPart targetEditor) void
BasicTextEditorActionContributor.setActiveEditor
(IEditorPart part) TheBasicTextEditorActionContributor
implementation of thisIEditorActionBarContributor
method installs the global action handler for the given text editor by calling a private helper method. -
Uses of IEditorPart in org.eclipse.ui.texteditor.quickdiff
Modifier and TypeMethodDescriptionvoid
QuickDiffToggleAction.setActiveEditor
(IAction action, IEditorPart targetEditor)
IWorkbenchPage.getEditorReferences()
instead.