Package | Description |
---|---|
org.eclipse.debug.ui |
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
|
org.eclipse.debug.ui.actions |
Provides a set of actions related to running and debugging applications. |
org.eclipse.debug.ui.sourcelookup |
Provides a user interface for debug platform source lookup facilities.
|
org.eclipse.search.ui.actions |
Search actions
|
org.eclipse.search.ui.text |
Provides the base classes to implement a search result view part for searches with textual matches.
|
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.operations |
Classes that provide the basic workbench UI support for undo and redo of
operations.
|
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.
|
org.eclipse.ui.texteditor.quickdiff |
Provides interfaces to for the
org.eclipse.ui.editors.quickDiffReferenceProvider
extension point and adds an action to enable quick diff display for an editor. |
org.eclipse.ui.views.navigator |
Provides the standard Resource Navigator view which
presents the tree of resources in the workspace.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
Annotation |
IInstructionPointerPresentation.getInstructionPointerAnnotation(IEditorPart editorPart,
IStackFrame frame)
Returns an annotation used for the specified stack frame in the specified
editor, or
null if a default annotation should be used. |
String |
IInstructionPointerPresentation.getInstructionPointerAnnotationType(IEditorPart editorPart,
IStackFrame frame)
Returns an identifier of a
org.eclipse.ui.editors.annotationTypes extension used for
the specified stack frame in the specified editor, or null if a default annotation
should be used. |
Image |
IInstructionPointerPresentation.getInstructionPointerImage(IEditorPart editorPart,
IStackFrame frame)
Returns the instruction pointer image used for the specified stack frame in the specified
editor, or
null if a default image should be used. |
String |
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, or
null if a default
message should be used. |
void |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
AddMemoryRenderingActionDelegate.setActiveEditor(IAction action,
IEditorPart targetEditor) |
void |
RunToLineActionDelegate.setActiveEditor(IAction action,
IEditorPart targetEditor) |
void |
RulerToggleBreakpointActionDelegate.setActiveEditor(IAction callerAction,
IEditorPart targetEditor) |
Modifier and Type | Class and Description |
---|---|
class |
CommonSourceNotFoundEditor
Default editor displayed when source is not found.
|
Constructor and Description |
---|
TextSearchGroup(IEditorPart editor)
Constructs a TextSearchGroup for adding actions to the context menu
of the editor provided.
|
Modifier and Type | Method and Description |
---|---|
Match[] |
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IInPlaceEditor
Interface for editor parts that represent an in-place style editor.
|
interface |
IReusableEditor
Interface for reusable editors.
|
Modifier and Type | Method and Description |
---|---|
IEditorPart |
IWorkbenchPage.findEditor(IEditorInput input)
Returns the editor with the specified input.
|
IEditorPart |
IWorkbenchPage.getActiveEditor()
Returns the active editor open in this page.
|
IEditorPart[] |
IWorkbenchPage.getDirtyEditors()
Returns a list of dirty editors in this page.
|
IEditorPart |
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.
|
IEditorPart[] |
IWorkbenchPage.getEditors()
Deprecated.
use #getEditorReferences() instead
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IWorkbenchPage.closeEditor(IEditorPart editor,
boolean save)
Closes the given editor.
|
boolean |
IWorkbenchPage.isEditorPinned(IEditorPart editor)
Returns
true 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 |
IEditorActionDelegate.setActiveEditor(IAction action,
IEditorPart targetEditor)
Sets the active editor for the delegate.
|
void |
IEditorActionBarContributor.setActiveEditor(IEditorPart targetEditor)
Sets the active editor for the contributor.
|
Constructor and Description |
---|
NavigationLocation(IEditorPart editorPart)
Constructs a NavigationLocation with its editor part.
|
Modifier and Type | Class and Description |
---|---|
class |
TextEditor
The standard text editor for file resources (
IFile ). |
Modifier and Type | Method and Description |
---|---|
void |
TextEditorActionContributor.setActiveEditor(IEditorPart part) |
Modifier and Type | Interface and Description |
---|---|
interface |
IFormPage
Interface that all GUI pages need to implement in order
to be added to FormEditor part.
|
Modifier and Type | Class and Description |
---|---|
class |
FormEditor
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 |
FormPage
A base class that all pages that should be added to FormEditor must subclass.
|
Modifier and Type | Method and Description |
---|---|
IEditorPart |
FormEditor.getActiveEditor()
Widens the visibility of the method in the superclass.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static IEditorPart |
ResourceUtil.findEditor(IWorkbenchPage page,
IFile file)
Returns the editor in the given page whose input represents the given file,
or
null if there is no such editor. |
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.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.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Constructor and Description |
---|
NonLocalUndoUserApprover(IUndoContext context,
IEditorPart part,
Object[] affectedObjects,
Class preferredComparisonClass)
Create a NonLocalUndoUserApprover associated with the specified editor
and undo context
|
Modifier and Type | Class and Description |
---|---|
class |
EditorPart
Abstract base implementation of all workbench editors.
|
class |
MultiEditor
A MultiEditor is a composite of editors.
|
class |
MultiPageEditor
Deprecated.
Use the class
MultiPageEditorPart instead |
class |
MultiPageEditorPart
A multi-page editor is an editor with multiple pages, each of which may
contain an editor or an arbitrary SWT control.
|
Modifier and Type | Method and Description |
---|---|
IEditorPart |
MultiEditor.getActiveEditor()
Returns the active inner editor.
|
protected IEditorPart |
MultiPageEditorPart.getActiveEditor()
Returns the active nested editor if there is one.
|
IEditorPart |
MultiPageEditorSite.getEditor()
Returns the nested editor.
|
protected IEditorPart |
MultiPageEditorPart.getEditor(int pageIndex)
Returns the editor for the given page index.
|
IEditorPart[] |
MultiEditor.getInnerEditors()
Returns an array with all inner editors.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MultiEditor.activateEditor(IEditorPart part)
Activates the given nested editor.
|
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.
|
Composite |
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 |
MultiEditor.getIndex(IEditorPart editor)
Returns the index of the given nested editor.
|
void |
MultiPageEditorActionBarContributor.setActiveEditor(IEditorPart part) |
void |
EditorActionBarContributor.setActiveEditor(IEditorPart targetEditor)
Sets the active editor for the contributor.
|
abstract void |
MultiPageEditorActionBarContributor.setActivePage(IEditorPart activeEditor)
Sets the active page of the the multi-page editor to be the given editor.
|
void |
MultiEditor.setChildren(IEditorPart[] children)
Set the inner editors.
|
void |
MultiEditor.updateGradient(IEditorPart editor)
Updates the gradient in the title bar.
|
Constructor and Description |
---|
MultiPageEditorSite(MultiPageEditorPart multiPageEditor,
IEditorPart editor)
Creates a site for the given editor nested within the given multi-page
editor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ITextEditor
Interface to a text editor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDecoratedTextEditor
An intermediate editor comprising functionality not present in the leaner
AbstractTextEditor ,
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 |
AbstractTextEditor
Abstract base implementation of a text editor.
|
class |
StatusTextEditor
Capable of handling input elements that have an associated status with them.
|
Modifier and Type | Method and Description |
---|---|
protected IEditorPart |
BasicTextEditorActionContributor.getActiveEditorPart()
Returns the active editor part.
|
Modifier and Type | Method and Description |
---|---|
void |
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)
The
BasicTextEditorActionContributor implementation of this
IEditorActionBarContributor method installs the global
action handler for the given text editor by calling a private helper
method. |
Modifier and Type | Method and Description |
---|---|
void |
QuickDiffToggleAction.setActiveEditor(IAction action,
IEditorPart targetEditor) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceNavigator.editorActivated(IEditorPart editor)
An editor has been activated.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.