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

## Uses of Class
org.eclipse.jface.text.Position

Packages that use Position
org.eclipse.compare.contentmergeviewer | Support for compare and merge viewers which show the content side-by-side.
org.eclipse.compare.structuremergeviewer | Provides support for finding and displaying the differences between hierarchically structured data.
org.eclipse.jface.text | Provides a framework for creating and manipulating text documents.
org.eclipse.jface.text.formatter | Provides a content formatter add-on for an `ITextViewer`.
org.eclipse.jface.text.link | Application programming interfaces for interaction with the Eclipse Java User Interface text support.
org.eclipse.jface.text.projection | This package provides an implementation of projection documents.
org.eclipse.jface.text.source | Provides a support for managing annotations attached to a document.
org.eclipse.jface.text.source.projection |
org.eclipse.ui.texteditor | Provides a framework for text editors obeying to the desktop rules.

Uses of Position in org.eclipse.compare.contentmergeviewer

Methods in org.eclipse.compare.contentmergeviewer that return Position
`Position` | `IDocumentRange.getRange()` Returns a position that specifies a subrange in the underlying document, or `null` if this document range spans the whole underlying document.

Uses of Position in org.eclipse.compare.structuremergeviewer

Methods in org.eclipse.compare.structuremergeviewer that return Position
`Position` | `DocumentRangeNode.getRange()`
`Position` | `DocumentRangeNode.getAppendPosition()` Returns the position that has been set with `setAppendPosition`.

Uses of Position in org.eclipse.jface.text

Subclasses of Position in org.eclipse.jface.text
`class` | `TypedPosition` Convenience class for positions that have a type, similar to `ITypedRegion`.

Fields in org.eclipse.jface.text declared as Position
`protected Position` | `DefaultPositionUpdater.fPosition` Caches the currently investigated position
`protected Position` | `DefaultPositionUpdater.fOriginalPosition` Remembers the original state of the investigated position
`protected Position` | `TextViewer.fMarkPosition` The mark position.

Methods in org.eclipse.jface.text that return Position
`Position[]` | `IDocument.getPositions(String category)` Returns all positions of the given position category.
`Position[]` | `AbstractDocument.getPositions(String category)`

Methods in org.eclipse.jface.text with parameters of type Position
`void` | `IDocument.addPosition(Position position)` Adds the position to the document's default position category.
`void` | `IDocument.removePosition(Position position)` Removes the given position from the document's default position category.
`void` | `IDocument.addPosition(String category, Position position)` Adds the position to the specified position category of the document.
`void` | `IDocument.removePosition(String category, Position position)` Removes the given position from the specified position category.
`void` | `AbstractDocument.addPosition(String category, Position position)`
`void` | `AbstractDocument.addPosition(Position position)`
`void` | `AbstractDocument.removePosition(String category, Position position)`
`void` | `AbstractDocument.removePosition(Position position)`
`protected IRegion` | `TextViewer.modelRange2WidgetRange(Position modelPosition)` Same as `TextViewer.modelRange2WidgetRange(IRegion)` just for a `Position`.
`void` | `IPaintPositionManager.managePosition(Position position)` Starts managing the given position until `unmanagePosition` is called.
`void` | `IPaintPositionManager.unmanagePosition(Position position)` Stops managing the given position.

Uses of Position in org.eclipse.jface.text.formatter

Methods in org.eclipse.jface.text.formatter with parameters of type Position
`protected boolean` | `ContentFormatter.positionAboutToBeAdded(IDocument document, String category, Position position)` The given position is about to be added to the given position category of the given document.

Uses of Position in org.eclipse.jface.text.link

Subclasses of Position in org.eclipse.jface.text.link
`class` | `LinkedPosition` A `Position` on a document that knows which document it is registered with and has a sequence number for tab stops.
`class` | `ProposalPosition` LinkedPosition with added completion proposals.

Methods in org.eclipse.jface.text.link with parameters of type Position
`LinkedPositionGroup` | `LinkedModeModel.getGroupForPosition(Position position)` Returns the linked position group that contains `position`, or `null` if `position` is not contained in any group within this model.

Uses of Position in org.eclipse.jface.text.projection

Subclasses of Position in org.eclipse.jface.text.projection
`class` | `Fragment` Internal class.
`class` | `Segment` Internal class.

Methods in org.eclipse.jface.text.projection that return Position
`protected Position[]` | `ProjectionDocument.getFragments()` Returns the fragments of the master documents.
`protected Position[]` | `ProjectionDocument.getSegments()` Returns the segments of this projection document.
`Position` | `ChildDocument.getParentDocumentRange()` Returns the parent document range of this child document.

Uses of Position in org.eclipse.jface.text.source

Methods in org.eclipse.jface.text.source that return Position
`Position` | `IAnnotationModel.getPosition(Annotation annotation)` Returns the position associated with the given annotation.
`Position` | `AnnotationModelEvent.getPositionOfRemovedAnnotation(Annotation annotation)` Returns the position of the removed annotation at that point in time when the annotation has been removed.
`Position` | `AnnotationModel.getPosition(Annotation annotation)`

Methods in org.eclipse.jface.text.source with parameters of type Position
`void` | `IAnnotationModelExtension.modifyAnnotationPosition(Annotation annotation, Position position)` Modifies the position associated with the given annotation to equal the given position.
`void` | `IAnnotationModel.addAnnotation(Annotation annotation, Position position)` Adds a annotation to this annotation model.
`void` | `AnnotationModelEvent.annotationRemoved(Annotation annotation, Position position)` Adds the given annotation to the set of annotations that are reported as being removed from the model.
`void` | `AnnotationModel.addAnnotation(Annotation annotation, Position position)`
`protected void` | `AnnotationModel.addAnnotation(Annotation annotation, Position position, boolean fireModelChanged)` Adds the given annotation to this model.
`protected void` | `AnnotationModel.addPosition(IDocument document, Position position)` Adds the given position to the default position category of the given document.
`protected void` | `AnnotationModel.removePosition(IDocument document, Position position)` Removes the given position from the default position category of the given document.
`void` | `AnnotationModel.modifyAnnotationPosition(Annotation annotation, Position position)`
`protected void` | `AnnotationModel.modifyAnnotationPosition(Annotation annotation, Position position, boolean fireModelChanged)` Modifies the associated position of the given annotation to the given position.

Uses of Position in org.eclipse.jface.text.source.projection

Methods in org.eclipse.jface.text.source.projection that return Position
`Position` | `ProjectionViewer.computeCollapsedRegionAnchor(Position position)` Computes the collapsed region anchor for the given position.

Methods in org.eclipse.jface.text.source.projection with parameters of type Position
`IRegion` | `ProjectionViewer.computeCollapsedRegion(Position position)` Computes the region that must be collapsed when the given position is the position of an expanded projection annotation.
`Position` | `ProjectionViewer.computeCollapsedRegionAnchor(Position position)` Computes the collapsed region anchor for the given position.

Uses of Position in org.eclipse.ui.texteditor

Methods in org.eclipse.ui.texteditor that return Position
`protected Position` | `AbstractMarkerAnnotationModel.createPositionFromMarker(IMarker marker)` Creates and returns the character position of the given marker based on its attributes.
`Position` | `AbstractMarkerAnnotationModel.getMarkerPosition(IMarker marker)` Returns the position known to this annotation model for the given marker.

Methods in org.eclipse.ui.texteditor with parameters of type Position
`protected boolean` | `SelectMarkerRulerAction.includesRulerLine(Position position, IDocument document)` Checks whether a position includes the ruler's line of activity.
`protected boolean` | `MarkerRulerAction.includesRulerLine(Position position, IDocument document)` Checks whether a position includes the ruler's line of activity.
`boolean` | `IMarkerUpdater.updateMarker(IMarker marker, IDocument document, Position position)` Updates the given marker according to the position of the given document.
`boolean` | `BasicMarkerUpdater.updateMarker(IMarker marker, IDocument document, Position position)`
`boolean` | `AbstractMarkerAnnotationModel.updateMarker(IMarker marker, IDocument document, Position position)` Deprecated. use `updateMarker(IDocument, IMarker, Position)` instead. This method will be changed to protected.
`boolean` | `AbstractMarkerAnnotationModel.updateMarker(IDocument document, IMarker marker, Position position)` Updates the given marker according to the given position in the given document.

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

Guidelines for using Eclipse APIs.

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