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.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.editors.text |
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.
|
org.eclipse.ui.forms.editor |
Support for forms-based multi-page editors.
|
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.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
Modifier and Type | Class and Description |
---|---|
class |
CompareEditorInput
A compare operation which can present its results in a special editor.
|
Modifier and Type | Method and Description |
---|---|
IEditorInput |
ISourcePresentation.getEditorInput(Object element)
Returns an editor input that should be used to display the given object
in an editor or
null if unable to provide an editor input
for the given object. |
Modifier and Type | Method and Description |
---|---|
String |
ISourcePresentation.getEditorId(IEditorInput input,
Object element)
Returns the id of the editor to use to display the
given editor input and object, or
null if
unable to provide an editor id. |
Modifier and Type | Class and Description |
---|---|
class |
CommonSourceNotFoundEditorInput
Editor input for the
CommonSourceNotFoundEditor . |
Modifier and Type | Method and Description |
---|---|
IEditorInput |
ISourceLookupResult.getEditorInput()
Returns the editor input used to display result,
or
null if unknown. |
Modifier and Type | Method and Description |
---|---|
void |
CommonSourceNotFoundEditor.init(IEditorSite site,
IEditorInput input) |
void |
CommonSourceNotFoundEditor.setInput(IEditorInput input) |
Modifier and Type | Class and Description |
---|---|
class |
SyncInfoCompareInput
A
SyncInfo editor input used as input to a two-way or three-way
compare viewer. |
Modifier and Type | Interface and Description |
---|---|
interface |
IFileEditorInput
This interface defines a file-oriented input to an editor.
|
interface |
IInPlaceEditorInput
This interface defines an editor input for in-place editors.
|
interface |
IPathEditorInput
This interface defines an editor input based on the local file system path
of a file.
|
interface |
IStorageEditorInput
Interface for a
IStorage input to an editor. |
Modifier and Type | Method and Description |
---|---|
IEditorInput |
IEditorPart.getEditorInput()
Returns the input for this editor.
|
IEditorInput |
IEditorReference.getEditorInput()
Returns the editor input for the editor referenced by this object.
|
Modifier and Type | Method and Description |
---|---|
IEditorPart |
IWorkbenchPage.findEditor(IEditorInput input)
Returns the editor with the specified input.
|
IEditorReference[] |
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.
|
IEditorPart |
IWorkbenchPage.openEditor(IEditorInput input,
String editorId)
Opens an editor on the given input.
|
IEditorPart |
IWorkbenchPage.openEditor(IEditorInput input,
String editorId,
boolean activate)
Opens an editor on the given input.
|
IEditorPart |
IWorkbenchPage.openEditor(IEditorInput input,
String editorId,
boolean activate,
int matchFlags)
Opens an editor on the given input.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TextEditor.doSetInput(IEditorInput input) |
protected boolean |
FileDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput)
Deprecated.
use file encoding based version
|
protected boolean |
StorageDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput)
Deprecated.
use the encoding based version instead
|
protected boolean |
FileDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput,
String encoding) |
protected boolean |
StorageDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput,
String encoding)
Initializes the given document from the given editor input using the given character encoding.
|
Modifier and Type | Method and Description |
---|---|
int |
FormEditor.addPage(IEditorPart editor,
IEditorInput input)
Adds a complete editor part to the multi-page editor.
|
void |
FormEditor.addPage(int index,
IEditorPart editor,
IEditorInput input)
Adds a complete editor part to the multi-page editor at the specified
position.
|
void |
FormPage.init(IEditorSite site,
IEditorInput input)
Initializes the form page.
|
void |
FormEditor.init(IEditorSite site,
IEditorInput input)
Overrides super to plug in a different selection provider.
|
Modifier and Type | Method and Description |
---|---|
static IFile |
ResourceUtil.getFile(IEditorInput editorInput)
Returns the file corresponding to the given editor input, or
null
if there is no applicable file. |
static IResource |
ResourceUtil.getResource(IEditorInput editorInput)
Returns the resource corresponding to the given editor input, or
null
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.
|
Modifier and Type | Method and Description |
---|---|
IStructuredSelection |
ILinkHelper.findSelection(IEditorInput anInput)
Determine the correct structured selection for the Common Navigator given
anInput.
|
Modifier and Type | Class and Description |
---|---|
class |
FileEditorInput
Adapter for making a file resource a suitable input for an editor.
|
class |
FileInPlaceEditorInput
Adapter for making a file resource a suitable input for an in-place editor.
|
class |
MultiEditorInput
Implements an input for a
MultiEditor . |
Modifier and Type | Field and Description |
---|---|
IEditorInput |
EditorInputTransfer.EditorInputData.input |
Modifier and Type | Method and Description |
---|---|
IEditorInput |
EditorPart.getEditorInput() |
IEditorInput[] |
MultiEditorInput.getInput()
Returns an array with the input of all inner editors.
|
Modifier and Type | Method and Description |
---|---|
int |
MultiPageEditorPart.addPage(IEditorPart editor,
IEditorInput input)
Creates and adds a new page containing the given editor to this
multi-page 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.
|
static EditorInputTransfer.EditorInputData |
EditorInputTransfer.createEditorInputData(String editorId,
IEditorInput input) |
abstract void |
EditorPart.init(IEditorSite site,
IEditorInput input) |
void |
MultiEditor.init(IEditorSite site,
IEditorInput input) |
void |
MultiPageEditorPart.init(IEditorSite site,
IEditorInput input)
The
MultiPageEditorPart implementation of this
IEditorPart method sets its site to the given site, its
input to the given input, and the site's selection provider to a
MultiPageSelectionProvider . |
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.
|
Constructor and Description |
---|
MultiEditorInput(String[] editorIDs,
IEditorInput[] innerEditors)
Constructs a new MultiEditorInput.
|
Modifier and Type | Method and Description |
---|---|
protected 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 |
AbstractTextEditor.doSetInput(IEditorInput input)
Called directly from
setInput and from within a workspace
runnable from init , this method does the actual setting
of the editor input. |
protected void |
StatusTextEditor.doSetInput(IEditorInput input) |
protected void |
AbstractDecoratedTextEditor.doSetInput(IEditorInput input) |
IDocumentProvider |
DocumentProviderRegistry.getDocumentProvider(IEditorInput editorInput)
Returns the shared document for the type of the given editor input.
|
void |
AbstractTextEditor.init(IEditorSite site,
IEditorInput input) |
protected void |
AbstractTextEditor.internalInit(IWorkbenchWindow window,
IEditorSite site,
IEditorInput input)
Implements the
init method of IEditorPart . |
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 |
AbstractTextEditor.setDocumentProvider(IEditorInput input)
Hook method for setting the document provider for the given input.
|
protected void |
AbstractDecoratedTextEditor.setDocumentProvider(IEditorInput input) |
void |
AbstractTextEditor.setInput(IEditorInput input) |
protected 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.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.