Package org.eclipse.ui.texteditor


package org.eclipse.ui.texteditor
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).