Uses of Interface
org.eclipse.ui.IEditorInput
Packages that use 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
Classes in org.eclipse.compare that implement IEditorInputModifier and TypeClassDescriptionclassA compare operation which can present its results in a special editor.Methods in org.eclipse.compare that return IEditorInputModifier and TypeMethodDescriptionISharedDocumentAdapter.getDocumentKey(Object element) Return the object that is to be used as the key for retrieving the appropriateIDocumentProviderfrom theDocumentProviderRegistryand for obtaining the sharedIDocumentfrom the document provider.SharedDocumentAdapter.getDocumentKey(Object element) Default implementation ofSharedDocumentAdapter.getDocumentKey(Object)that returns aFileEditorInputfor the element if the element adapts toIFile.Methods in org.eclipse.compare with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidISharedDocumentAdapter.connect(IDocumentProvider provider, IEditorInput documentKey) Connect the given element to its document provider.voidSharedDocumentAdapter.connect(IDocumentProvider provider, IEditorInput documentKey) voidISharedDocumentAdapter.disconnect(IDocumentProvider provider, IEditorInput documentKey) Disconnect the element from the document provider.voidSharedDocumentAdapter.disconnect(IDocumentProvider provider, IEditorInput documentKey) voidISharedDocumentAdapter.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 IDocumentProviderSharedDocumentAdapter.getDocumentProvider(IEditorInput input) Returns the document provider for the given editor input.protected voidSharedDocumentAdapter.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
Methods in org.eclipse.compare.contentmergeviewer that return IEditorInputModifier and TypeMethodDescriptionprotected IEditorInputTextMergeViewer.getEditorInput(ISourceViewer sourceViewer) Returns an editor input for the given source viewer. -
Uses of IEditorInput in org.eclipse.compare.internal
Methods in org.eclipse.compare.internal with parameters of type IEditorInputModifier and TypeMethodDescriptionCompareLinkHelper.findSelection(IEditorInput anInput) voidCompareEditor.init(IEditorSite site, IEditorInput input) voidCompareEditor.setInput(IEditorInput input) -
Uses of IEditorInput in org.eclipse.compare.structuremergeviewer
Methods in org.eclipse.compare.structuremergeviewer that return IEditorInputMethods in org.eclipse.compare.structuremergeviewer with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidSharedDocumentAdapterWrapper.connect(IDocumentProvider provider, IEditorInput documentKey) voidSharedDocumentAdapterWrapper.disconnect(IDocumentProvider provider, IEditorInput documentKey) voidSharedDocumentAdapterWrapper.flushDocument(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) -
Uses of IEditorInput in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return IEditorInputModifier and TypeMethodDescriptionISourcePresentation.getEditorInput(Object element) Returns an editor input that should be used to display the given object in an editor ornullif unable to provide an editor input for the given object.Methods in org.eclipse.debug.ui with parameters of type IEditorInputModifier and TypeMethodDescriptionISourcePresentation.getEditorId(IEditorInput input, Object element) Returns the id of the editor to use to display the given editor input and object, ornullif unable to provide an editor id. -
Uses of IEditorInput in org.eclipse.debug.ui.sourcelookup
Classes in org.eclipse.debug.ui.sourcelookup that implement IEditorInputModifier and TypeClassDescriptionclassEditor input for theCommonSourceNotFoundEditor.Methods in org.eclipse.debug.ui.sourcelookup that return IEditorInputModifier and TypeMethodDescriptionISourceLookupResult.getEditorInput()Returns the editor input used to display result, ornullif unknown.Methods in org.eclipse.debug.ui.sourcelookup with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidCommonSourceNotFoundEditor.init(IEditorSite site, IEditorInput input) voidCommonSourceNotFoundEditor.setInput(IEditorInput input) -
Uses of IEditorInput in org.eclipse.search.ui
Methods in org.eclipse.search.ui that return IEditorInputModifier and TypeMethodDescriptionISearchPageContainer.getActiveEditorInput()Returns the editor input of the active editor. -
Uses of IEditorInput in org.eclipse.team.ui
Classes in org.eclipse.team.ui that implement IEditorInputModifier and TypeClassDescriptionclassAbstract 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
Classes in org.eclipse.team.ui.history that implement IEditorInputModifier and TypeClassDescriptionclassDisplays a history page combined with the compare/merge infrastructure. -
Uses of IEditorInput in org.eclipse.team.ui.synchronize
Classes in org.eclipse.team.ui.synchronize that implement IEditorInputModifier and TypeClassDescriptionclassDisplays a synchronize participant page combined with the compare/merge infrastructure.classA compare editor input that makes use of aSaveableto manage the save lifecycle of the editor input.final classASyncInfoeditor input used as input to a two-way or three-way compare viewer. -
Uses of IEditorInput in org.eclipse.ui
Subinterfaces of IEditorInput in org.eclipse.uiModifier and TypeInterfaceDescriptioninterfaceThis interface defines a file-oriented input to an editor.interfaceThis interface defines an editor input for in-place editors.interfaceThis interface defines an editor input based on the local file system path of a file.interfaceInterface for aIStorageinput to an editor.interfaceThis interface defines an editor input based on a URI.Methods in org.eclipse.ui that return IEditorInputModifier and TypeMethodDescriptionIEditorPart.getEditorInput()Returns the input for this editor.IEditorReference.getEditorInput()Returns the editor input for the editor referenced by this object.Methods in org.eclipse.ui with parameters of type IEditorInputModifier 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.voidIEditorPart.init(IEditorSite site, IEditorInput input) Initializes this editor with the given editor site and input.booleanIEditorMatchingStrategy.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.voidIWorkbenchPage.reuseEditor(IReusableEditor editor, IEditorInput input) Reuses the specified editor by setting its new input.voidIReusableEditor.setInput(IEditorInput input) Sets the input to this editor.voidIShowEditorInput.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
Methods in org.eclipse.ui.databinding.typed that return types with arguments of type IEditorInputModifier 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
Methods in org.eclipse.ui.editors.text with parameters of type IEditorInputModifier and TypeMethodDescriptionprotected voidTextEditor.doSetInput(IEditorInput input) protected booleanFileDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput) Deprecated.use file encoding based versionprotected booleanFileDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput, String encoding) protected booleanStorageDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput) Deprecated.use the encoding based version insteadprotected booleanStorageDocumentProvider.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
Methods in org.eclipse.ui.forms.editor with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidFormEditor.addPage(int index, IEditorPart editor, IEditorInput input) Adds a complete editor part to the multi-page editor at the specified position.intFormEditor.addPage(IEditorPart editor, IEditorInput input) Adds a complete editor part to the multi-page editor.voidFormEditor.init(IEditorSite site, IEditorInput input) Overrides super to plug in a different selection provider.voidFormPage.init(IEditorSite site, IEditorInput input) Initializes the form page. -
Uses of IEditorInput in org.eclipse.ui.handlers
Methods in org.eclipse.ui.handlers that return IEditorInputModifier and TypeMethodDescriptionstatic IEditorInputHandlerUtil.getActiveEditorInput(ExecutionEvent event) Return the input of the active editor.static IEditorInputHandlerUtil.getActiveEditorInputChecked(ExecutionEvent event) Return the input of the active editor. -
Uses of IEditorInput in org.eclipse.ui.ide
Classes in org.eclipse.ui.ide that implement IEditorInputModifier and TypeClassDescriptionclassImplements an IEditorInput instance appropriate forIFileStoreelements that represent files that are not part of the current workspace.Methods in org.eclipse.ui.ide with parameters of type IEditorInputModifier and TypeMethodDescriptionstatic IFileResourceUtil.getFile(IEditorInput editorInput) Returns the file corresponding to the given editor input, ornullif there is no applicable file.static IResourceResourceUtil.getResource(IEditorInput editorInput) Returns the resource corresponding to the given editor input, ornullif there is no applicable resource.static IEditorPartIDE.openEditor(IWorkbenchPage page, IEditorInput input, String editorId) Opens an editor on the given object.static IEditorPartIDE.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 IEditorDescriptorIDE.overrideDefaultEditorAssociation(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Applies theorg.eclipse.ui.ide.editorAssociationOverrideextensions to the given input.static IEditorDescriptor[]IDE.overrideEditorAssociations(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverrideextensions 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
Methods in org.eclipse.ui.internal that return IEditorInputModifier and TypeMethodDescriptionstatic IEditorInputEditorReference.createInput(IMemento editorMem) EditorReference.getEditorInput()EditorHistoryItem.getInput()Returns the editor input.Methods in org.eclipse.ui.internal with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidEditorHistory.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) voidErrorEditorPart.init(IEditorSite site, IEditorInput input) booleanEditorHistoryItem.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) voidEditorHistory.remove(IEditorInput input) Removes all traces of an editor input from the history.voidWorkbenchPage.reuseEditor(IReusableEditor editor, IEditorInput input) See IWorkbenchPage.Constructors in org.eclipse.ui.internal with parameters of type IEditorInputModifierConstructorDescriptionEditorHistoryItem(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
Classes in org.eclipse.ui.part that implement IEditorInputModifier and TypeClassDescriptionclassAdapter for making a file resource a suitable input for an editor.classAdapter for making a file resource a suitable input for an in-place editor.classImplements an input for aAbstractMultiEditor.Fields in org.eclipse.ui.part declared as IEditorInputMethods in org.eclipse.ui.part that return IEditorInputModifier and TypeMethodDescriptionEditorPart.getEditorInput()MultiEditorInput.getInput()Returns an array with the input of all inner editors.Methods in org.eclipse.ui.part with parameters of type IEditorInputModifier and TypeMethodDescriptionvoidMultiPageEditorPart.addPage(int index, IEditorPart editor, IEditorInput input) Creates and adds a new page containing the given editor to this multi-page editor.intMultiPageEditorPart.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.voidAbstractMultiEditor.init(IEditorSite site, IEditorInput input) abstract voidEditorPart.init(IEditorSite site, IEditorInput input) voidMultiPageEditorPart.init(IEditorSite site, IEditorInput input) TheMultiPageEditorPartimplementation of thisIEditorPartmethod sets its site to the given site, its input to the given input, and the site's selection provider to aMultiPageSelectionProvider.protected voidEditorPart.setInput(IEditorInput input) Sets the input to this editor.protected voidEditorPart.setInputWithNotify(IEditorInput input) Sets the input to this editor and fires a PROP_INPUT property change if the input has changed.Constructors in org.eclipse.ui.part with parameters of type IEditorInputModifierConstructorDescriptionMultiEditorInput(String[] editorIDs, IEditorInput[] innerEditors) Constructs a new MultiEditorInput. -
Uses of IEditorInput in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type IEditorInputModifier and TypeMethodDescriptionprotected booleanAbstractTextEditor.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 voidAbstractDecoratedTextEditor.doSetInput(IEditorInput input) protected voidAbstractTextEditor.doSetInput(IEditorInput input) Called directly fromsetInputand from within a workspace runnable frominit, this method does the actual setting of the editor input.protected voidStatusTextEditor.doSetInput(IEditorInput input) DocumentProviderRegistry.getDocumentProvider(IEditorInput editorInput) Returns the shared document for the type of the given editor input.voidAbstractTextEditor.init(IEditorSite site, IEditorInput input) protected final voidAbstractTextEditor.internalInit(IWorkbenchWindow window, IEditorSite site, IEditorInput input) Implements theinitmethod ofIEditorPart.protected voidAbstractTextEditor.safelySanityCheckState(IEditorInput input) Checks the state of the given editor input if sanity checking is enabled.protected voidAbstractTextEditor.sanityCheckState(IEditorInput input) Checks the state of the given editor input.protected voidStatusTextEditor.sanityCheckState(IEditorInput input) protected voidAbstractDecoratedTextEditor.setDocumentProvider(IEditorInput input) protected voidAbstractTextEditor.setDocumentProvider(IEditorInput input) Hook method for setting the document provider for the given input.final voidAbstractTextEditor.setInput(IEditorInput input) protected final voidAbstractTextEditor.setInputWithNotify(IEditorInput input) voidStatusTextEditor.updatePartControl(IEditorInput input) Checks if the status of the given input is OK.protected voidAbstractTextEditor.updateState(IEditorInput input) Updates the state of the given editor input such as read-only flag.protected voidAbstractTextEditor.validateState(IEditorInput input) Validates the state of the given editor input.