Provides a framework for text editors obeying to the desktop rules.
The package provides a default implementation of
IEditorPartwith 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
AbstractTextEditor). This default implementation also covers the editor's complete action management and activation. The package contains a number of configurable and predefined actions.
AbstractMarkerAnnotationModelestablishs a link between text annotations (
Annotation) and desktop markers (
Interface Summary Interface Description IAbstractTextEditorHelpContextIdsHelp context ids for the text editor. IAnnotationImageProviderProvides an image for a given annotation. IDocumentProviderA document provider maps between domain elements and documents. IDocumentProviderExtension IDocumentProviderExtension2 IDocumentProviderExtension3 IDocumentProviderExtension4 IDocumentProviderExtension5 IEditorStatusLineAn interface to use the status line of an editor. IElementStateListenerInterface for parties interested in standardized element changes. IElementStateListenerExtensionExtension interface for
IFindReplaceTargetExtension2Extension interface for
IMarkerUpdaterA marker updater is responsible for saving changes to markers. IReadOnlyDependentExtension interface for actions. ISchedulingRuleProviderA scheduling rule provider provides a scheduling rule which can be used when running operations. IStatusFieldInterface of a status field of a text editor. IStatusFieldExtensionExtends
IStatusFieldwith the following concepts: set error text and image set tool tip control visibility
ITextEditorInterface to a text editor. ITextEditorActionConstantsDefines the names of those actions which are pre-registered with the
ITextEditorActionDefinitionIdsDefines the definitions ids for the text editor actions. ITextEditorDropTargetListenerInterface to be implemented by SWT drop target listeners to be used with
ITextEditorExtension ITextEditorExtension2 ITextEditorExtension3 ITextEditorExtension4 ITextEditorExtension5 ITextEditorExtension6 IUpdateIndicates the support of an update method. IWorkbenchActionDefinitionIdsDefines the definitions ids for workbench actions.
Class Summary Class Description AbstractDecoratedTextEditorAn 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.
AbstractDecoratedTextEditorPreferenceConstantsPreference constants used in the extended text editor preference store. AbstractDocumentProviderAn abstract implementation of a sharable document provider. AbstractDocumentProvider.DocumentProviderOperationOperation created by the document provider and to be executed by the providers runnable context. AbstractMarkerAnnotationModelAbstract implementation of a marker-based annotation model. AbstractRulerActionDelegateThis class serves as an adapter for actions contributed to the vertical ruler's context menu. AbstractTextEditorAbstract base implementation of a text editor. AbstractTextEditor.ColumnSupportImplements the ruler column support of for the given editor. AbstractTextEditor.IdMapEntryMaps an action definition id to an StyledText action. AbstractTextEditor.TextEditorSavableThis text editor's savable. AddMarkerActionAction for creating a marker of a specified type for the editor's input element based on the editor's selection. AddTaskActionCreates a new task marker. AnnotationPreferenceAn annotation preference provides all the information required for handing the preferences for the presentation of annotations of a specified type. AnnotationPreferenceLookupProvides the strategy for finding the annotation preference for a given annotation. AnnotationTypeLookupProvides the strategy for determining annotation types for given markers. BasicMarkerUpdaterUpdates a marker's positional attributes which are start position, end position, and line number. BasicTextEditorActionContributorManages the installation and removal of global actions for the same type of editors. BookmarkRulerActionAdapter for the managing bookmark action. CaseActionAction that converts the current selection to lower case or upper case. ChainedPreferenceStorePreference 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. ChangeEncodingActionAction for changing the encoding of the editor's input element. ConfigurationElementSorterAllows to sort an array based on their elements' configuration elements according to the prerequisite relation of their defining plug-ins. ContentAssistActionA content assist action which gets its target from its text editor. ConvertLineDelimitersAction Deprecated.since 3.1. DefaultMarkerAnnotationAccessDefault class for accessing marker annotation properties. DefaultRangeIndicatorSpecialized annotation to indicate a particular range of text lines. DeleteLineActionAn 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. DocumentProviderRegistryThis registry manages shared document providers. FindNextActionAn action which finds the next/previous occurrence of the last search or the current selection if present. FindReplaceActionAn action which opens a Find/Replace dialog. GotoAnnotationActionAction for jumping to a particular annotation in the editor's text viewer. GotoLastEditPositionActionGoes to last edit position. GotoLineActionAction for jumping to a particular line in the editor's text viewer. GotoNextEditPositionActionGoes to next edit position, ie travels forward in the edit position history Acts as a complement to GotoLastEditPositionAction which travels backward in the history. HippieProposalProcessorA completion proposal computer for hippie word completions. HyperlinkDetectorDescriptorDescribes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point. HyperlinkDetectorRegistryHyperlink detector registry that manages the detectors contributed by the
org.eclipse.ui.workbench.texteditor.hyperlinkDetectorsextension point for targets contributed by the
HyperlinkDetectorTargetDescriptorDescribes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets' extension point. ImageUtilities Deprecated.As of 3.0, replaced by
IncrementalFindActionAn action which enters the incremental find mode like in emacs. InfoForm Deprecated.since 3.0. there is no replacement, use org.eclipse.ui.forms to define a component with a similar look and function. InsertLineActionThis action implements smart return. ITextEditorExtension3.InsertModeConstitutes entities to enumerate the editor insert modes. JoinLinesActionAction for joining two or more lines together by deleting the line delimiters and trimming the whitespace between them. KeyBindingSupportForAssistantHelper class to make navigation key bindings work for the content assistant and the quick assist assistant while the editor has focus. MarkActionAn action to handle emacs-like marked regions. MarkerAnnotationAnnotation representing a marker on a resource in the workspace. MarkerAnnotationPreferencesObjects of this class provide access to all extensions declared for the
MarkerRulerActionA ruler action which can add and remove markers which have a visual representation in the ruler. MarkerRulerInfoAction Deprecated.use
MarkerUtilitiesUtility class for accessing marker attributes. MarkRegionTargetDefault implementation of
MoveLinesActionAction for moving selected lines in an editor. PropagatingFontFieldEditor Deprecated.no longer supported RecenterActionAn action to handle emacs-like recenter. ResourceActionAn action which configures its label, image, tooltip, and description from a resource bundle using known keys. ResourceMarkerAnnotationModelA marker annotation model whose underlying source of markers is a resource in the workspace. ResourceMarkerAnnotationModelFactoryAn annotation model factory for resource marker annotation models. RetargetTextEditorActionAction 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. RevertToSavedActionAction for abandoning changes made in the text editor since the last save operation. SaveAction Deprecated.As of 3.5, replaced by
SelectAnnotationRulerActionA ruler action which can select the textual range of an annotation that has a visual representation in a vertical ruler. SelectMarkerRulerActionA ruler action which can select the textual range of a marker that has a visual representation in a vertical ruler. SelectMarkerRulerInfoAction Deprecated.As of 2.1, replaced by
SelectRulerActionAdapter for the select marker action. ShiftActionAction for shifting code to the right or left by one indentation level. ShowWhitespaceCharactersActionThis action toggles the display of whitespace characters by attaching/detaching an
WhitespaceCharacterPainterto the associated text editor.
SimpleMarkerAnnotationAn annotation representing a marker. SourceViewerDecorationSupportSupport class used by text editors to draw and update decorations on the source viewer and its rulers. StatusLineContributionItemContribution item for the status line. StatusTextEditorCapable of handling input elements that have an associated status with them. TaskRulerActionAdapter for the marker ruler action creating/removing tasks. TextEditorActionSkeleton of a standard text editor action. TextNavigationActionAn
Actionwrapper for text widget navigation and selection actions.
TextOperationActionAn action which gets a text operation target from its text editor. TextSelectionNavigationLocationRepresents the text selection context marked for the user in the navigation history. TextViewerDeleteLineTargetA delete line target. TextZoomInHandler TextZoomOutHandler WorkbenchChainedTextFontFieldEditor Deprecated.since 3.0 not longer in use, no longer supported, use a
ChainedPreferenceStoreto access preferences from the
Exception Summary Exception Description ValidateStateException Deprecated.No longer used, create a