Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.eclipse.jface.text

Provides a framework for creating and manipulating text documents.

See:
Description

Interface Summary
AbstractInformationControlManager.IInformationControlCloser | Interface of an information control closer.
DefaultInformationControl.IInformationPresenter | An information presenter determines the style presentation of information displayed in the default information control.
IAutoEditStrategy | An auto edit strategy can adapt changes that will be applied to a text viewer's document.
IAutoIndentStrategy | Deprecated. since 3.0, use `IAutoEditStrategy` directly
IDocument | An `IDocument` represents text providing support for text manipulation positions partitions line information document change listeners document partition change listeners A document allows to set its content and to manipulate it.
IDocumentAdapter | Adapts an `IDocument`to the `StyledTextContent` interface.
IDocumentAdapterExtension | Extension interface for `IDocumentAdapter`.
IDocumentExtension | Extension interface for `IDocument`.
IDocumentExtension.IReplace | Interface for a post notification replace operation.
IDocumentExtension2 | Extension interface for `IDocument`.
IDocumentExtension3 | Extension interface for `IDocument`.
IDocumentInformationMapping | A `IDocumentInformationMapping` represents a mapping between the coordinates of two `IDocument` objects: the original and the image.
IDocumentInformationMappingExtension | Extension to `IDocumentInformationMapping`.
IDocumentListener | Interface for objects which are interested in getting informed about document changes.
IDocumentPartitioner | A document partitioner divides a document into a set of disjoint text partitions.
IDocumentPartitionerExtension | Extension interface for `IDocumentPartitioner`.
IDocumentPartitionerExtension2 | Extension interface for `IDocumentPartitioner`.
IDocumentPartitioningListener | Interface of objects which are interested in getting informed about changes of a document's partitioning.
IDocumentPartitioningListenerExtension | Extension interface for `IDocumentPartitioningListener`.
IDocumentPartitioningListenerExtension2 | Extension interface to `IDocumentPartitioningListener`.
IEventConsumer | Implementers can register with a text viewer and receive `VerifyEvent`s before the text viewer they are registered with.
IFindReplaceTarget | Defines the target for finding and replacing strings.
IFindReplaceTargetExtension | Extension interface for `IFindReplaceTarget`.
IFindReplaceTargetExtension3 | Extension interface for `IFindReplaceTarget`.
IInformationControl | Interface of a control presenting information.
IInformationControlCreator | Interface of a factory for information controls ( `IInformationControl`).
IInformationControlCreatorExtension | Extension interface for `IInformationControlCreator` Introduces tests whether information controls can be reused and whether information control creators can replace each other.
IInformationControlExtension | Extension interface `IInformationControl`.
IInformationControlExtension2 | Extension interface for `IInformationControl`.
IInformationControlExtension3 | Extension interface for `IInformationControl`.
ILineTracker | A line tracker maps character positions to line numbers and vice versa.
IMarkRegionTarget | A mark region target to support marked regions as found in emacs.
IMarkSelection | A mark selection.
IPainter | A painter is responsible for creating, managing, updating, and removing visual decorations on an `ITextViewer`'s text widget.
IPaintPositionManager | Manages and updates positions used by `IPainter`s.
IPositionUpdater | A position updater is responsible for adapting document positions.
IRegion | A region describes a certain range in an indexed text store.
IRepairableDocument | Tagging interface to be implemented by `IDocument`implementers that offer a line repair method on the documents.
IRewriteTarget | A target publishing the required functions to modify a document that is displayed in a text viewer.
ISelectionValidator | A selection validator allows clients to test whether the selection they received during selection changed notification is valid.
ISlaveDocumentManager | Slave documents are documents whose contents is defined in terms of a master document.
ISlaveDocumentManagerExtension | Extension interface for `ISlaveDocumentManager`.
ISynchronizable | Interface for text related objects which may be used in the multi-threaded context and thus must provide a way to prevent concurrent access and manipulation.
ITextDoubleClickStrategy | A text double click strategy defines the reaction of a text viewer to mouse double click events.
ITextHover | Computes the information to be shown in a hover popup which appears on top of the text viewer's text widget when a hover event occurs.
ITextHoverExtension | Extension interface for `ITextHover`.
ITextInputListener | Text input listeners registered with an `ITextViewer` are informed if the document serving as the text viewer's model is replaced.
ITextListener | Text listeners registered with a text viewer are informed about all modifications of an `ITextViewer` by means of text events.
ITextOperationTarget | Defines the target for text operations.
ITextOperationTargetExtension | Extension interface for `ITextOperationTarget`.
ITextPresentationListener | Text presentation listeners registered with an `ITextViewer` are informed when a `TextPresentation` is about to be applied to the text viewer.
ITextSelection | This interface represents a textual selection.
ITextStore | Interface for storing and managing text.
ITextViewer | A text viewer connects a text widget with an `IDocument`.
ITextViewerExtension | Extension interface for `ITextViewer`.
ITextViewerExtension2 | Extension interface for `ITextViewer`.
ITextViewerExtension3 | Deprecated. replaced by `ITextViewerExtension5`
ITextViewerExtension4 | Extension interface for `ITextViewer`.
ITextViewerExtension5 | Extension interface for `ITextViewer`.
ITypedRegion | Describes a region of an indexed text store such as a document or a string.
IUndoManager | An undo manager is connected to at most one `ITextViewer`.
IViewportListener | Registered with a text viewer, view port listeners are informed about changes of a text viewer's view port.
IWidgetTokenKeeper | A widget token keeper may require a widget token from an `IWidgetTokenOwner` and release the token to the owner after usage.
IWidgetTokenKeeperExtension | Extension interface for `IWidgetTokenKeeper`.
IWidgetTokenOwner | In order to display information in a temporary window, a widget token must be acquired.
IWidgetTokenOwnerExtension | Extension interface for `IWidgetTokenOwner`.

Class Summary
AbstractDocument | Abstract default implementation of `IDocument` and its extension interfaces `IDocumentExtension`, `IDocumentExtension2`, `IDocumentExtension3`, as well as `IRepairableDocument`.
AbstractHoverInformationControlManager | An information control manager that shows information in response to mouse hover events.
AbstractInformationControlManager | Manages the life cycle, visibility, layout, and contents of an `IInformationControl`.
AbstractInformationControlManager.Anchor | Constitutes entities to enumerate anchors for the layout of the information control.
AbstractLineTracker | Abstract implementation of `ILineTracker`.
AbstractLineTracker.DelimiterInfo | Combines the information of the occurrence of a line delimiter.
Assert | `Assert` is useful for for embedding runtime sanity checks in code.
ConfigurableLineTracker | Standard implementation of a generic `ILineTracker`.
CursorLinePainter | A painter the draws the background of the caret line in a configured color.
DefaultAutoIndentStrategy | Default implementation of `IAutoIndentStrategy`.
DefaultInformationControl | Default implementation of `IInformationControl`.
DefaultLineTracker | Standard implementation of `ILineTracker`.
DefaultPositionUpdater | Default implementation of `IPositionUpdater`.
DefaultTextDoubleClickStrategy | Standard implementation of `ITextDoubleClickStrategy`.
DefaultUndoManager | Standard implementation of `IUndoManager`.
Document | Default document implementation.
DocumentCommand | Represents a text modification as a document replace command.
DocumentEvent | Specification of changes applied to documents.
DocumentPartitioningChangedEvent | Event describing the change of document partitionings.
FindReplaceDocumentAdapter | Provides search and replace operations on `IDocument`.
GapTextStore | Implements a gap managing text store.
MarginPainter | Paints a vertical line (margin line) after a given column respecting the text viewer's font.
MarkSelection | Default implementation of `IMarkSelection`.
PaintManager | Manages the `IPainter` object registered with an `ITextViewer`.
Position | Positions describe text ranges of a document.
PropagatingFontFieldEditor | Deprecated. since 3.0 not longer in use, no longer supported
Region | The default implementation of the `IRegion` interface.
SequentialRewriteTextStore | A text store that optimizes a given source text store for sequential rewriting.
SlaveDocumentEvent | A slave document event represents a master document event as a slave-relative document event.
TextAttribute | Description of textual attributes such as color and style.
TextEvent | This event is sent to implementers of `ITextListener`.
TextPresentation | Describes the presentation styles for a section of an indexed text such as a document or string.
TextSelection | Standard implementation of `ITextSelection`.
TextUtilities | A collection of text functions.
TextViewer | SWT based implementation of `ITextViewer` and its extension interfaces.
TypedPosition | Convenience class for positions that have a type, similar to `ITypedRegion`.
TypedRegion | Default implementation of `ITypedRegion`.

Exception Summary
BadLocationException | Indicates the attempt to access a non-existing position.
BadPartitioningException | Represents the attempt to refer to a non-existing document partitioning.
BadPositionCategoryException | Indicates the attempt to access a non-existing position category in a document.

## Package org.eclipse.jface.text Description

Provides a framework for creating and manipulating text documents.

### Package Specification

`IDocument` is the major text model abstraction. It provides content management, position management using position categories, document partition management, and change notification. In order to be notified about document changes, an object must implements `IDocumentListener` and must be registered with the document. `Position` updating in responds to a document change is performed by implementers of `IDocumentPositionUpdater`. Partition updating in responds to a document change is performed by implements of `IDocumentPartitioner`. In order to be notified about document partition changes, objects must implement `IDocumentParititoningListener` and must be registered with the document.

The package contains default implementations for document position updaters and for documents. `AbstractDocument` uses `ITextStorage` for storing and managing its content and `ILineTracker` to maintain a line structure of its content. As defaults a gap text implementation of `ITextStore` is provided, together with a line tracker understanding the three standard line delimiters ("\r", "\n", "\r\n") and a line tracker which can be freely configured to consider any given set of strings as valid line delimiters.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.