org.eclipse.ui.texteditor |
Package-level Javadoc
Provides a framework for text editors obeying to the
desktop rules.
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).
|
Java Source File Name | Type | Comment |
AbstractDocumentProvider.java | Class | An abstract implementation of a sharable document provider. |
AbstractRulerActionDelegate.java | Class | This class serves as an adapter for actions contributed to the vertical ruler's
context menu. |
AbstractTextEditor.java | Class | Abstract base implementation of a text editor.
Subclasses are responsible for configuring the editor appropriately.
The standard text editor, TextEditor , is one such example.
If a subclass calls
the argument is
used as the id under which the editor's context menu is registered for extensions.
If no id is set, the context menu is registered under [editor_id].EditorContext
whereby [editor_id] is replaced with the editor's part id. |
AnnotationPreference.java | Class | An annotation preference provides all the information required for handing
the preferences for the presentation of annotations of a specified type. |
BasicTextEditorActionContributor.java | Class | Manages the installation and removal of global actions for
the same type of editors.
If instantiated and used as-is, this contributor connects to all of the workbench defined
global editor actions the corresponding actions of the current editor. |
CaseAction.java | Class | Action that converts the current selection to lower case or upper case. |
ConfigurationElementSorter.java | Class | Allows to sort an array based on their elements' configuration elements
according to the prerequisite relation of their defining plug-ins. |
ContentAssistAction.java | Class | A content assist action which gets its target from its text editor. |
ConvertLineDelimitersAction.java | Class | An action to convert line delimiters of a text editor document to a
particular line delimiter. |
DefaultRangeIndicator.java | Class | Specialized annotation to indicate a particular range of text lines. |
DeleteLineAction.java | Class | 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. |
DeleteLineTarget.java | Class | A delete line target. |
EditorMessages.java | Class | Helper class to get NLSed messages. |
EditorStatusLine.java | Class | An editor status line. |
FindNextAction.java | Class | An action which finds the next/previous occurrence of the last search or the
current selection if present. |
FindReplaceAction.java | Class | An action which opens a Find/Replace dialog.
The dialog while open, tracks the active workbench part
and retargets itself to the active find/replace target.
It can also be used without having an IWorkbenchPart e.g. |
FindReplaceDialog.java | Class | Find/Replace dialog. |
FindReplaceTarget.java | Class | Internal find/replace target wrapping the editor's source viewer. |
GotoAnnotationAction.java | Class | Action for jumping to a particular annotation in the editor's text viewer. |
GotoLineAction.java | Class | Action for jumping to a particular line in the editor's text viewer. |
HippieCompleteAction.java | Class | This class implements the emacs style completion action. |
HippieProposalProcessor.java | Class | A completion proposal computer for hippie word completions. |
HyperlinkDetectorDescriptor.java | Class | Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors'
extension point. |
HyperlinkDetectorRegistry.java | Class | Hyperlink detector registry that manages the detectors
contributed by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors extension point for
targets contributed by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets extension point. |
HyperlinkDetectorTargetDescriptor.java | Class | Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets'
extension point. |
IAbstractTextEditorHelpContextIds.java | Interface | Help context ids for the text editor. |
IAnnotationImageProvider.java | Interface | Provides an image for a given annotation. |
IDocumentProvider.java | Interface | A document provider maps between domain elements and documents. |
IDocumentProviderExtension.java | Interface | Extension interface for
IDocumentProvider . |
IDocumentProviderExtension2.java | Interface | Extension interface for
org.eclipse.ui.texteditor.IDocumentProvider . |
IDocumentProviderExtension3.java | Interface | Extension interface for
org.eclipse.ui.texteditor.IDocumentProvider . |
IDocumentProviderExtension4.java | Interface | Extension interface for
org.eclipse.ui.texteditor.IDocumentProvider . |
IDocumentProviderExtension5.java | Interface | Extension interface for
org.eclipse.ui.texteditor.IDocumentProvider . |
IEditorStatusLine.java | Interface | An interface to use the status line of an editor. |
IElementStateListener.java | Interface | Interface for parties interested in standardized element changes. |
IElementStateListenerExtension.java | Interface | Extension interface for
org.eclipse.ui.texteditor.IElementStateListener .
It adds
- state validation notification
- a notion of session, i.e.
|
IFindReplaceTargetExtension2.java | Interface | Extension interface for
org.eclipse.jface.text.IFindReplaceTarget . |
IncrementalFindAction.java | Class | An action which enters the incremental find mode like in emacs. |
IncrementalFindTarget.java | Class | An incremental find target. |
InfoForm.java | Class | A form consisting of a title, a banner, and a info text. |
InsertLineAction.java | Class | This action implements smart return.
Instead of breaking the line where we are, we do the following:
Smart Enter
- if the caret is on a line containing any non-whitespace, a line is inserted below the
current one and the caret moved to it,
- if the caret is on a whitespace-only line, a line is inserted below the current line,
but the caret stays in its position.
Smart Enter Inverse
- if the caret is on a line containing any non-whitespace, we insert a line above the
current one and move the caret to it (i.e.
|
IReadOnlyDependent.java | Interface | Extension interface for actions. |
ISchedulingRuleProvider.java | Interface | A scheduling rule provider provides a scheduling rule which
can be used when running operations. |
IStatusField.java | Interface | Interface of a status field of a text editor. |
IStatusFieldExtension.java | Interface | |
ITextEditor.java | Interface | Interface to a text editor. |
ITextEditorActionConstants.java | Interface | Defines the names of those actions which are pre-registered with the
AbstractTextEditor . |
ITextEditorActionDefinitionIds.java | Interface | Defines the definitions ids for the text editor actions. |
ITextEditorDropTargetListener.java | Interface | Interface to be implemented by SWT drop target listeners to be used with
AbstractTextEditor . |
ITextEditorExtension.java | Interface | Extension interface for
org.eclipse.ui.texteditor.ITextEditor . |
ITextEditorExtension2.java | Interface | Extension interface for
org.eclipse.ui.texteditor.ITextEditor . |
ITextEditorExtension3.java | Interface | Extension interface for
org.eclipse.ui.texteditor.ITextEditor . |
ITextEditorExtension4.java | Interface | Extension interface for
org.eclipse.ui.texteditor.ITextEditor . |
IUpdate.java | Interface | Indicates the support of an update method. |
IWorkbenchActionDefinitionIds.java | Interface | Defines the definitions ids for workbench actions. |
JoinLinesAction.java | Class | Action for joining two or more lines together by deleting the
line delimiters and trimming the whitespace between them. |
MarkAction.java | Class | An action to handle emacs-like marked regions. |
MarkRegionTarget.java | Class | Default implementation of IMarkRegionTarget using ITextViewer
and IStatusLineManager . |
MoveLinesAction.java | Class | Action for moving selected lines in an editor. |
PropagatingFontFieldEditor.java | Class | |
RecenterAction.java | Class | An action to handle emacs-like recenter. |
RegExContentProposalProvider.java | Class | Content assist proposal provider for regular expressions. |
RegExMessages.java | Class | RegEx messages. |
ResourceAction.java | Class | An action which configures its label, image, tooltip, and description from
a resource bundle using known keys.
Clients may subclass this abstract class to define new kinds of actions. |
RetargetTextEditorAction.java | Class | 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. |
RevertToSavedAction.java | Class | Action for abandoning changes made in the text editor since the last save
operation. |
SaveAction.java | Class | Action for saving recent changes made in the text editor. |
SelectAnnotationRulerAction.java | Class | A ruler action which can select the textual range of an annotation that has a
visual representation in a vertical ruler. |
ShiftAction.java | Class | Action for shifting code to the right or left by one indentation level. |
ShowWhitespaceCharactersAction.java | Class | This action toggles the display of whitespace characters by
attaching/detaching an
WhitespaceCharacterPainter to the
associated text editor. |
SourceViewerDecorationSupport.java | Class | Support class used by text editors to draw and update decorations on the
source viewer and its rulers. |
StatusLineContributionItem.java | Class | Contribution item for the status line. |
StatusTextEditor.java | Class | Capable of handling input elements that have an associated status with them. |
TextEditorAction.java | Class | Skeleton of a standard text editor action. |
TextNavigationAction.java | Class | An Action wrapper for text widget navigation and selection actions. |
TextOperationAction.java | Class | An action which gets a text operation target from its text editor. |
TextSelectionNavigationLocation.java | Class | Represents the text selection context marked for the user in the navigation history. |
ValidateStateException.java | Class | Formerly thrown by AbstractDocumentProvider.doValidateState(Object, Object) . |
WorkbenchChainedTextFontFieldEditor.java | Class | This font field editor implements chaining between the workbench's preference
store and a given target preference store. |