Package org.eclipse.ui.texteditor
package org.eclipse.ui.texteditor
Provides a framework for text editors obeying to the
desktop rules.
The package provides a default implementation of
Package Specification
ITextEditor
extends IEditorPart
with text editor specific
functionality. Text editors use source viewers (ISourceViewer
)
for displaying and editing the given editor input. In order to translate
the editor input into a document and vice versa (e.g., for saving a change),
a text editor uses document providers (IDocumentProvider
). A document
provider is responsible not just for providing the document for a given
editor input but for the complete translation between the domain model
and the editor's internal document-based model. Document provider can be
shared between editors.
The package provides a default implementation of
ITextEditor
(AbstractTextEditor
). This default implementation also covers
the editor's complete action management and activation. The package contains
a number of configurable and predefined actions. AbstractMarkerAnnotationModel
establishs a link between text annotations (Annotation
) and desktop
markers (IMarker
).-
ClassDescriptionAn 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.Preference constants used in the extended text editor preference store.An abstract implementation of a sharable document provider.Operation created by the document provider and to be executed by the providers runnable context.Abstract implementation of a marker-based annotation model.This class serves as an adapter for actions contributed to the vertical ruler's context menu.Abstract base implementation of a text editor.Implements the ruler column support of for the given editor.Maps an action definition id to an StyledText action.This text editor's savable.Action for creating a marker of a specified type for the editor's input element based on the editor's selection.Creates a new task marker.An annotation preference provides all the information required for handing the preferences for the presentation of annotations of a specified type.Provides the strategy for finding the annotation preference for a given annotation.Provides the strategy for determining annotation types for given markers.Updates a marker's positional attributes which are start position, end position, and line number.Manages the installation and removal of global actions for the same type of editors.Adapter for the managing bookmark action.Action that converts the current selection to lower case or upper case.Preference store that composes multiple preference stores in a chain and serves a preference value from the first preference store in the chain that contains the preference.Action for changing the encoding of the editor's input element.Allows to sort an array based on their elements' configuration elements according to the prerequisite relation of their defining plug-ins.A content assist action which gets its target from its text editor.Deprecated.since 3.1.Default class for accessing marker annotation properties.Specialized annotation to indicate a particular range of text lines.An action to delete a whole line, the fraction of the line that is left from the cursor or the fraction that is right from the cursor.This registry manages shared document providers.An action which finds the next/previous occurrence of the last search or the current selection if present.An action which opens a Find/Replace dialog.Action for jumping to a particular annotation in the editor's text viewer.Goes to last edit position.Action for jumping to a particular line in the editor's text viewer.Goes to next edit position, ie travels forward in the edit position history Acts as a complement to GotoLastEditPositionAction which travels backward in the history.A completion proposal computer for hippie word completions.Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point.Hyperlink detector registry that manages the detectors contributed by theorg.eclipse.ui.workbench.texteditor.hyperlinkDetectors
extension point for targets contributed by theorg.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets
extension point.Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets' extension point.Help context ids for the text editor.Provides an image for a given annotation.A document provider maps between domain elements and documents.Extension interface forIDocumentProvider
.Extension interface forIDocumentProvider
.Extension interface forIDocumentProvider
.Extension interface forIDocumentProvider
.Extension interface forIDocumentProvider
.An interface to use the status line of an editor.Interface for parties interested in standardized element changes.Extension interface forIElementStateListener
.Extension interface forIFindReplaceTarget
.Deprecated.As of 3.0, replaced byImageUtilities
A marker updater is responsible for saving changes to markers.An action which enters the incremental find mode like in emacs.Deprecated.since 3.0. there is no replacement, use org.eclipse.ui.forms to define a component with a similar look and function.This action implements smart return.Extension interface for actions.A scheduling rule provider provides a scheduling rule which can be used when running operations.Interface of a status field of a text editor.ExtendsIStatusField
with the following concepts: set error text and image set tool tip control visibilityInterface to a text editor.Defines the names of those actions which are pre-registered with theAbstractTextEditor
.Defines the definitions ids for the text editor actions.Interface to be implemented by SWT drop target listeners to be used withAbstractTextEditor
.Extension interface forITextEditor
.Extension interface forITextEditor
.Extension interface forITextEditor
.Constitutes entities to enumerate the editor insert modes.Extension interface forITextEditor
.Extension interface forITextEditor
.Extension interface forITextEditor
.Indicates the support of an update method.Defines the definitions ids for workbench actions.Action for joining two or more lines together by deleting the line delimiters and trimming the whitespace between them.Helper class to make navigation key bindings work for the content assistant and the quick assist assistant while the editor has focus.An action to handle emacs-like marked regions.Annotation representing a marker on a resource in the workspace.Objects of this class provide access to all extensions declared for themarkerAnnotationSpecification
extension point.A ruler action which can add and remove markers which have a visual representation in the ruler.Deprecated.useMarkerRulerAction
insteadUtility class for accessing marker attributes.Default implementation ofIMarkRegionTarget
usingITextViewer
andIStatusLineManager
.Action for moving selected lines in an editor.Deprecated.no longer supportedAn action to handle emacs-like recenter.An action which configures its label, image, tooltip, and description from a resource bundle using known keys.A marker annotation model whose underlying source of markers is a resource in the workspace.An annotation model factory for resource marker annotation models.Action used by an editor action bar contributor to establish placeholders in menus or action bars which can be retargeted to dynamically changing actions, for example, those which come from the active editor.Action for abandoning changes made in the text editor since the last save operation.Deprecated.As of 3.5, replaced byActionFactory.SAVE
A ruler action which can select the textual range of an annotation that has a visual representation in a vertical ruler.A ruler action which can select the textual range of a marker that has a visual representation in a vertical ruler.Deprecated.As of 2.1, replaced bySelectMarkerRulerAction
Adapter for the select marker action.Action for shifting code to the right or left by one indentation level.This action toggles the display of whitespace characters by attaching/detaching anWhitespaceCharacterPainter
to the associated text editor.An annotation representing a marker.Support class used by text editors to draw and update decorations on the source viewer and its rulers.Contribution item for the status line.Capable of handling input elements that have an associated status with them.Adapter for the marker ruler action creating/removing tasks.Skeleton of a standard text editor action.AnAction
wrapper for text widget navigation and selection actions.An action which gets a text operation target from its text editor.Represents the text selection context marked for the user in the navigation history.A delete line target.Deprecated.No longer used, create aCoreException
insteadDeprecated.since 3.0 not longer in use, no longer supported, use aChainedPreferenceStore
to access preferences from theorg.eclipse.ui.editors
plug-in.