|
Eclipse Platform 2.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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, manipulating, displaying and editing text documents. |
org.eclipse.jface.text.formatter | Provides a text formatter add-on for an ITextViewer. |
org.eclipse.jface.text.source | Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer. |
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 |
Fragment
Represents a fragment of a ProjectionDocument . |
class |
ProjectionPosition
Represents the corresponding parent document range of a fragment of a ProjectionDocument . |
class |
TypedPosition
Convenience class for position like typed regions. |
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 |
Methods in org.eclipse.jface.text that return Position | |
Position[] |
AbstractDocument.getPositions(String category)
|
Position |
ProjectionDocument.computeProjectionDocumentPosition(int offsetInParent,
int lengthInParent)
Creates a position describing the projection document range corresponding to the given parent document range. |
Position[] |
ProjectionDocument.getAffectedFragments(int offsetInParent,
int lengthInParent)
Returns the list of fragments whose corresponding ranges in the parent document overlap with the specifed range of the parent document. |
Position |
ProjectionDocument.getParentDocumentCoverage()
Returns the minimal range of the parent document that covers all ranges that correspond to the fragments of this projection document. |
Position[] |
ProjectionDocument.getProjection()
Returns the ranges of the parent document that correspond to the fragments of this projection document. |
Position[] |
ProjectionDocument.getFragmentation()
Returns the list of all fragments of this projection document. |
Position |
Fragment.getOrigin()
Returns the corresponding range in the parent document. |
Position[] |
IDocument.getPositions(String category)
Returns all positions of the given position category. |
Position |
ChildDocument.getParentDocumentRange()
Returns the range of the parent document covered by this child document. |
Methods in org.eclipse.jface.text with parameters of type Position | |
void |
AbstractDocument.addPosition(String category,
Position position)
|
void |
AbstractDocument.addPosition(Position position)
|
void |
AbstractDocument.removePosition(String category,
Position position)
|
void |
AbstractDocument.removePosition(Position position)
|
Fragment |
ProjectionDocument.createFragment(Position parentPosition)
Creates a fragment from a postion of the parent document. |
void |
ProjectionDocument.removeFragment(Position parentPosition)
Removes the fragment that corresponds to the given parent document range. |
void |
Fragment.setOrigin(Position origin)
Sets the corresponding range in the parent document. |
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. |
protected IRegion |
TextViewer.modelRange2WidgetRange(Position modelPosition)
|
void |
IPaintPositionManager.managePosition(Position position)
Starts managing the given position until unmanagePosition is called. |
void |
IPaintPositionManager.unmanagePosition(Position position)
Stops managing the given position. |
Constructors in org.eclipse.jface.text with parameters of type Position | |
Fragment(int offset,
int length,
Position origin)
Creates new position representing a fragment. |
|
ChildDocument(IDocument parentDocument,
Position range)
Creates a child document for the given range of the given parent document. |
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.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 |
AnnotationModel.getPosition(Annotation annotation)
|
Methods in org.eclipse.jface.text.source with parameters of type Position | |
void |
IAnnotationModel.addAnnotation(Annotation annotation,
Position position)
Adds a annotation to this annotation 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. |
Constructors in org.eclipse.jface.text.source with parameters of type Position | |
ProjectionAnnotation(Position range)
Creates a new projection annotation for the given range of the master document. |
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 |
AbstractMarkerAnnotationModel.updateMarker(IMarker marker,
IDocument document,
Position position)
Updates the given marker according to the given position in the given document. |
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)
|
|
Eclipse Platform 2.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |