Uses of Interface
org.eclipse.ui.IEditorInput
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Support for compare and merge viewers which show the
content side-by-side.
Provides support for finding and displaying the differences
between hierarchically structured data.
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.
Classes and interface required to contribute search dialog pages and search result view pages.
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.
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.
Provides the Common Navigator framework.
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.
-
Uses of IEditorInput in org.eclipse.compare
Modifier and TypeClassDescriptionclass
A compare operation which can present its results in a special editor.Modifier and TypeMethodDescriptionISharedDocumentAdapter.getDocumentKey
(Object element) Return the object that is to be used as the key for retrieving the appropriateIDocumentProvider
from theDocumentProviderRegistry
and for obtaining the sharedIDocument
from the document provider.SharedDocumentAdapter.getDocumentKey
(Object element) Default implementation ofSharedDocumentAdapter.getDocumentKey(Object)
that returns aFileEditorInput
for the element if the element adapts toIFile
.Modifier and TypeMethodDescriptionvoid
ISharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) Connect the given element to its document provider.void
SharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) void
ISharedDocumentAdapter.disconnect
(IDocumentProvider provider, IEditorInput documentKey) Disconnect the element from the document provider.void
SharedDocumentAdapter.disconnect
(IDocumentProvider provider, IEditorInput documentKey) void
ISharedDocumentAdapter.flushDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) Flush the contents of the given document into the typed element that provided the document.static IDocumentProvider
SharedDocumentAdapter.getDocumentProvider
(IEditorInput input) Returns the document provider for the given editor input.protected void
SharedDocumentAdapter.saveDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite, IProgressMonitor monitor) A helper method to save a document. -
Uses of IEditorInput in org.eclipse.compare.contentmergeviewer
Modifier and TypeMethodDescriptionprotected IEditorInput
TextMergeViewer.getEditorInput
(ISourceViewer sourceViewer) Returns an editor input for the given source viewer. -
Uses of IEditorInput in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionCompareLinkHelper.findSelection
(IEditorInput anInput) void
CompareEditor.init
(IEditorSite site, IEditorInput input) void
CompareEditor.setInput
(IEditorInput input) -
Uses of IEditorInput in org.eclipse.compare.structuremergeviewer
Modifier and TypeMethodDescriptionvoid
SharedDocumentAdapterWrapper.connect
(IDocumentProvider provider, IEditorInput documentKey) void
SharedDocumentAdapterWrapper.disconnect
(IDocumentProvider provider, IEditorInput documentKey) void
SharedDocumentAdapterWrapper.flushDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) -
Uses of IEditorInput in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionISourcePresentation.getEditorInput
(Object element) Returns an editor input that should be used to display the given object in an editor ornull
if unable to provide an editor input for the given object.Modifier and TypeMethodDescriptionISourcePresentation.getEditorId
(IEditorInput input, Object element) Returns the id of the editor to use to display the given editor input and object, ornull
if unable to provide an editor id. -
Uses of IEditorInput in org.eclipse.debug.ui.sourcelookup
Modifier and TypeClassDescriptionclass
Editor input for theCommonSourceNotFoundEditor
.Modifier and TypeMethodDescriptionISourceLookupResult.getEditorInput()
Returns the editor input used to display result, ornull
if unknown.Modifier and TypeMethodDescriptionvoid
CommonSourceNotFoundEditor.init
(IEditorSite site, IEditorInput input) void
CommonSourceNotFoundEditor.setInput
(IEditorInput input) -
Uses of IEditorInput in org.eclipse.search.ui
Modifier and TypeMethodDescriptionISearchPageContainer.getActiveEditorInput()
Returns the editor input of the active editor. -
Uses of IEditorInput in org.eclipse.team.ui
Modifier and TypeClassDescriptionclass
Abstract class for hosting a page based structure input view for the purposes of feeding compare viewers. -
Uses of IEditorInput in org.eclipse.team.ui.history
Modifier and TypeClassDescriptionclass
Displays a history page combined with the compare/merge infrastructure. -
Uses of IEditorInput in org.eclipse.team.ui.synchronize
Modifier and TypeClassDescriptionclass
Displays a synchronize participant page combined with the compare/merge infrastructure.class
A compare editor input that makes use of aSaveable
to manage the save lifecycle of the editor input.final class
ASyncInfo
editor input used as input to a two-way or three-way compare viewer. -
Uses of IEditorInput in org.eclipse.ui
Modifier and TypeInterfaceDescriptioninterface
This interface defines a file-oriented input to an editor.interface
This interface defines an editor input for in-place editors.interface
This interface defines an editor input based on the local file system path of a file.interface
Interface for aIStorage
input to an editor.interface
This interface defines an editor input based on a URI.Modifier and TypeMethodDescriptionIEditorPart.getEditorInput()
Returns the input for this editor.IEditorReference.getEditorInput()
Returns the editor input for the editor referenced by this object.Modifier and TypeMethodDescriptionIWorkbenchPage.findEditor
(IEditorInput input) Returns the editor with the specified input.IWorkbenchPage.findEditors
(IEditorInput input, String editorId, int matchFlags) Returns an array of editor references that match the given input and/or editor id, as specified by the given match flags.void
IEditorPart.init
(IEditorSite site, IEditorInput input) Initializes this editor with the given editor site and input.boolean
IEditorMatchingStrategy.matches
(IEditorReference editorRef, IEditorInput input) Returns whether the editor represented by the given editor reference matches the given editor input.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.IWorkbenchPage.openEditors
(IEditorInput[] inputs, String[] editorIDs, int matchFlags) Opens editors for the given inputs.IWorkbenchPage.openEditors
(IEditorInput[] inputs, String[] editorIDs, IMemento[] mementos, int matchFlags, int activateIndex) Opens editors for the given inputs.void
IWorkbenchPage.reuseEditor
(IReusableEditor editor, IEditorInput input) Reuses the specified editor by setting its new input.void
IReusableEditor.setInput
(IEditorInput input) Sets the input to this editor.void
IShowEditorInput.showEditorInput
(IEditorInput editorInput) Shows the given input if it represents a different subset of the editor's content than the one currently being shown. -
Uses of IEditorInput 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 IEditorInput in org.eclipse.ui.editors.text
Modifier and TypeMethodDescriptionprotected void
TextEditor.doSetInput
(IEditorInput input) protected boolean
FileDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput) Deprecated.use file encoding based versionprotected boolean
FileDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput, String encoding) protected boolean
StorageDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput) Deprecated.use the encoding based version insteadprotected boolean
StorageDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput, String encoding) Initializes the given document from the given editor input using the given character encoding. -
Uses of IEditorInput in org.eclipse.ui.forms.editor
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.void
FormEditor.init
(IEditorSite site, IEditorInput input) Overrides super to plug in a different selection provider.void
FormPage.init
(IEditorSite site, IEditorInput input) Initializes the form page. -
Uses of IEditorInput in org.eclipse.ui.handlers
Modifier and TypeMethodDescriptionstatic IEditorInput
HandlerUtil.getActiveEditorInput
(ExecutionEvent event) Return the input of the active editor.static IEditorInput
HandlerUtil.getActiveEditorInputChecked
(ExecutionEvent event) Return the input of the active editor. -
Uses of IEditorInput in org.eclipse.ui.ide
Modifier and TypeClassDescriptionclass
Implements an IEditorInput instance appropriate forIFileStore
elements that represent files that are not part of the current workspace.Modifier and TypeMethodDescriptionstatic IFile
ResourceUtil.getFile
(IEditorInput editorInput) Returns the file corresponding to the given editor input, ornull
if there is no applicable file.static IResource
ResourceUtil.getResource
(IEditorInput editorInput) Returns the resource corresponding to the given editor input, ornull
if there is no applicable resource.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.IEditorAssociationOverride.overrideDefaultEditor
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Allows to override the given editor descriptor for the given editor input with a different one.static IEditorDescriptor
IDE.overrideDefaultEditorAssociation
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.static IEditorDescriptor[]
IDE.overrideEditorAssociations
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.IEditorAssociationOverride.overrideEditors
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Allows to override the given editor descriptors for the given editor input with different ones. -
Uses of IEditorInput in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionstatic IEditorInput
EditorReference.createInput
(IMemento editorMem) EditorReference.getEditorInput()
EditorHistoryItem.getInput()
Returns the editor input.Modifier and TypeMethodDescriptionvoid
EditorHistory.add
(IEditorInput input, IEditorDescriptor desc) Adds an item to the history.WorkbenchPage.createEditorReferenceForPart
(MPart part, IEditorInput input, String editorId, IMemento memento) WorkbenchPage.findEditor
(IEditorInput input) WorkbenchPage.findEditors
(IEditorInput input, String editorId, int matchFlags) LargeFileLimitsPreferenceHandler.getEditorForInput
(IEditorInput editorInput) void
ErrorEditorPart.init
(IEditorSite site, IEditorInput input) boolean
EditorHistoryItem.matches
(IEditorInput input) Returns whether this item matches the given editor input.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.WorkbenchPage.openEditors
(IEditorInput[] inputs, String[] editorIDs, int matchFlags) WorkbenchPage.openEditors
(IEditorInput[] inputs, String[] editorIDs, IMemento[] mementos, int matchFlags, int activationIndex) void
EditorHistory.remove
(IEditorInput input) Removes all traces of an editor input from the history.void
WorkbenchPage.reuseEditor
(IReusableEditor editor, IEditorInput input) See IWorkbenchPage.ModifierConstructorDescriptionEditorHistoryItem
(IEditorInput input, IEditorDescriptor descriptor) Constructs a new item.EditorReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part, IEditorInput input, org.eclipse.ui.internal.registry.EditorDescriptor descriptor, IMemento editorState) -
Uses of IEditorInput in org.eclipse.ui.part
Modifier and TypeClassDescriptionclass
Adapter for making a file resource a suitable input for an editor.class
Adapter for making a file resource a suitable input for an in-place editor.class
Implements an input for aAbstractMultiEditor
.Modifier and TypeMethodDescriptionEditorPart.getEditorInput()
MultiEditorInput.getInput()
Returns an array with the input of all inner editors.Modifier and TypeMethodDescriptionvoid
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.EditorInputTransfer.createEditorInputData
(String editorId, IEditorInput input) final IEditorPart[]
MultiPageEditorPart.findEditors
(IEditorInput input) Find the editors contained in this multi-page editor whose editor input match the provided input.void
AbstractMultiEditor.init
(IEditorSite site, IEditorInput input) abstract void
EditorPart.init
(IEditorSite site, IEditorInput input) void
MultiPageEditorPart.init
(IEditorSite site, IEditorInput input) TheMultiPageEditorPart
implementation of thisIEditorPart
method sets its site to the given site, its input to the given input, and the site's selection provider to aMultiPageSelectionProvider
.protected void
EditorPart.setInput
(IEditorInput input) Sets the input to this editor.protected void
EditorPart.setInputWithNotify
(IEditorInput input) Sets the input to this editor and fires a PROP_INPUT property change if the input has changed.ModifierConstructorDescriptionMultiEditorInput
(String[] editorIDs, IEditorInput[] innerEditors) Constructs a new MultiEditorInput. -
Uses of IEditorInput in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionprotected boolean
AbstractTextEditor.canHandleMove
(IEditorInput originalElement, IEditorInput movedElement) Returns whether this editor can handle the move of the original element so that it ends up being the moved element.protected void
AbstractDecoratedTextEditor.doSetInput
(IEditorInput input) protected void
AbstractTextEditor.doSetInput
(IEditorInput input) Called directly fromsetInput
and from within a workspace runnable frominit
, this method does the actual setting of the editor input.protected void
StatusTextEditor.doSetInput
(IEditorInput input) DocumentProviderRegistry.getDocumentProvider
(IEditorInput editorInput) Returns the shared document for the type of the given editor input.void
AbstractTextEditor.init
(IEditorSite site, IEditorInput input) protected final void
AbstractTextEditor.internalInit
(IWorkbenchWindow window, IEditorSite site, IEditorInput input) Implements theinit
method ofIEditorPart
.protected void
AbstractTextEditor.safelySanityCheckState
(IEditorInput input) Checks the state of the given editor input if sanity checking is enabled.protected void
AbstractTextEditor.sanityCheckState
(IEditorInput input) Checks the state of the given editor input.protected void
StatusTextEditor.sanityCheckState
(IEditorInput input) protected void
AbstractDecoratedTextEditor.setDocumentProvider
(IEditorInput input) protected void
AbstractTextEditor.setDocumentProvider
(IEditorInput input) Hook method for setting the document provider for the given input.final void
AbstractTextEditor.setInput
(IEditorInput input) protected final void
AbstractTextEditor.setInputWithNotify
(IEditorInput input) void
StatusTextEditor.updatePartControl
(IEditorInput input) Checks if the status of the given input is OK.protected void
AbstractTextEditor.updateState
(IEditorInput input) Updates the state of the given editor input such as read-only flag.protected void
AbstractTextEditor.validateState
(IEditorInput input) Validates the state of the given editor input.