Uses of Class
org.eclipse.jface.text.Position
-
Packages that use Position Package Description 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 anITextViewer.org.eclipse.jface.text.link Application programming interfaces for interaction with the Eclipse text editor's linked position support.org.eclipse.jface.text.projection This package provides an implementation of projection documents.org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations ofIPresentationDamager,IPresentationRepairerandIDocumentPartitioner.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.text.source.projection This package provides the UI part for projection documents of which the most important part is the projection viewer.org.eclipse.jface.text.templates Application programming interfaces for interaction with the Eclipse text template support.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 Modifier and Type Method Description PositionIDocumentRange. getRange()Returns a position that specifies a subrange in the underlying document, ornullif 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 Modifier and Type Method Description PositionDocumentRangeNode. getAppendPosition()Returns the position that has been set withsetAppendPosition.PositionDocumentRangeNode. getRange() -
Uses of Position in org.eclipse.jface.text
Subclasses of Position in org.eclipse.jface.text Modifier and Type Class Description classTypedPositionConvenience class for positions that have a type, similar toITypedRegion.Fields in org.eclipse.jface.text declared as Position Modifier and Type Field Description protected PositionTextViewer. fMarkPositionThe mark position.protected PositionDefaultPositionUpdater. fOriginalPositionCaches the original state of the investigated positionprotected PositionDefaultPositionUpdater. fPositionCaches the currently investigated positionMethods in org.eclipse.jface.text that return Position Modifier and Type Method Description Position[]AbstractDocument. getPositions(String category)Position[]AbstractDocument. getPositions(String category, int offset, int length, boolean canStartBefore, boolean canEndAfter)Returns all positions of the given category that are inside the given region.Position[]IDocument. getPositions(String category)Returns all positions of the given position category.Methods in org.eclipse.jface.text that return types with arguments of type Position Modifier and Type Method Description protected Map<String,List<Position>>AbstractDocument. getDocumentManagedPositions()Returns all positions managed by the document grouped by category.Methods in org.eclipse.jface.text with parameters of type Position Modifier and Type Method Description voidAbstractDocument. addPosition(String category, Position position)voidAbstractDocument. addPosition(Position position)voidIDocument. addPosition(String category, Position position)Adds the position to the specified position category of the document.voidIDocument. addPosition(Position position)Adds the position to the document's default position category.voidIPaintPositionManager. managePosition(Position position)Starts managing the given position untilunmanagePositionis called.protected IRegionTextViewer. modelRange2WidgetRange(Position modelPosition)Same asTextViewer.modelRange2WidgetRange(IRegion)just for aPosition.voidAbstractDocument. removePosition(String category, Position position)voidAbstractDocument. removePosition(Position position)voidIDocument. removePosition(String category, Position position)Removes the given position from the specified position category.voidIDocument. removePosition(Position position)Removes the given position from the document's default position category.voidIPaintPositionManager. unmanagePosition(Position position)Stops managing the given position.Method parameters in org.eclipse.jface.text with type arguments of type Position Modifier and Type Method Description protected intAbstractDocument. computeIndexInPositionList(List<? extends Position> positions, int offset)Deprecated.As of 3.4, replaced byAbstractDocument.computeIndexInPositionList(List, int, boolean)protected intAbstractDocument. computeIndexInPositionList(List<? extends Position> positions, int offset, boolean orderedByOffset)Computes the index in the list of positions at which a position with the given position would be inserted. -
Uses of Position in org.eclipse.jface.text.formatter
Methods in org.eclipse.jface.text.formatter with parameters of type Position Modifier and Type Method Description protected booleanContentFormatter. 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 Modifier and Type Class Description classLinkedPositionAPositionon a document that knows which document it is registered with and has a sequence number for tab stops.classProposalPositionLinkedPosition with added completion proposals.Methods in org.eclipse.jface.text.link with parameters of type Position Modifier and Type Method Description LinkedPositionGroupLinkedModeModel. getGroupForPosition(Position position)Returns the linked position group that containsposition, ornullifpositionis 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 Modifier and Type Class Description classFragmentInternal class.classSegmentInternal class.Methods in org.eclipse.jface.text.projection that return Position Modifier and Type Method Description protected Position[]ProjectionDocument. getFragments()Returns the fragments of the master documents.PositionChildDocument. getParentDocumentRange()Returns the parent document range of this child document.protected Position[]ProjectionDocument. getSegments()Returns the segments of this projection document. -
Uses of Position in org.eclipse.jface.text.rules
Methods in org.eclipse.jface.text.rules that return Position Modifier and Type Method Description protected Position[]FastPartitioner. getPositions()Returns the partitioners positions. -
Uses of Position in org.eclipse.jface.text.source
Fields in org.eclipse.jface.text.source with type parameters of type Position Modifier and Type Field Description protected Map<Annotation,Position>AnnotationModel. fAnnotationsDeprecated.since 3.0 usegetAnnotationMapinsteadprotected Stack<Position>SourceViewer. fSelectionsStack of saved selections in the underlying documentMethods in org.eclipse.jface.text.source that return Position Modifier and Type Method Description PositionAnnotationModel. getPosition(Annotation annotation)PositionIAnnotationModel. getPosition(Annotation annotation)Returns the position associated with the given annotation.PositionAnnotationModelEvent. getPositionOfRemovedAnnotation(Annotation annotation)Returns the position of the removed annotation at that point in time when the annotation has been removed.Methods in org.eclipse.jface.text.source that return types with arguments of type Position Modifier and Type Method Description Set<Map.Entry<Annotation,Position>>IAnnotationMap. entrySet()The returned set is not synchronized on this annotation map's lock object.Collection<Position>IAnnotationMap. values()The returned collection is not synchronized on this annotation map's lock object.Iterator<Position>IAnnotationMap. valuesIterator()Returns an iterator for a copy of this annotation map's values.Methods in org.eclipse.jface.text.source with parameters of type Position Modifier and Type Method Description voidAnnotationModel. addAnnotation(Annotation annotation, Position position)protected voidAnnotationModel. addAnnotation(Annotation annotation, Position position, boolean fireModelChanged)Adds the given annotation to this model.voidIAnnotationModel. addAnnotation(Annotation annotation, Position position)Adds a annotation to this annotation model.protected voidAnnotationModel. addPosition(IDocument document, Position position)Adds the given position to the default position category of the given document.voidAnnotationModelEvent. annotationRemoved(Annotation annotation, Position position)Adds the given annotation to the set of annotations that are reported as being removed from the model.voidAnnotationModel. modifyAnnotationPosition(Annotation annotation, Position position)protected voidAnnotationModel. modifyAnnotationPosition(Annotation annotation, Position position, boolean fireModelChanged)Modifies the associated position of the given annotation to the given position.voidIAnnotationModelExtension. modifyAnnotationPosition(Annotation annotation, Position position)Modifies the position associated with the given annotation to equal the given position.protected voidAnnotationModel. removePosition(IDocument document, Position position)Removes the given position from the default position category of the given document.Method parameters in org.eclipse.jface.text.source with type arguments of type Position Modifier and Type Method Description voidAnnotationModel. replaceAnnotations(Annotation[] annotationsToRemove, Map<? extends Annotation,? extends Position> annotationsToAdd)protected voidAnnotationModel. replaceAnnotations(Annotation[] annotationsToRemove, Map<? extends Annotation,? extends Position> annotationsToAdd, boolean fireModelChanged)Replaces the given annotations in this model and if advised fires a model change event.voidIAnnotationModelExtension. replaceAnnotations(Annotation[] annotationsToRemove, Map<? extends Annotation,? extends Position> annotationsToAdd)Adds and removes annotations to/from this annotation model in a single step. -
Uses of Position in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection that return Position Modifier and Type Method Description PositionProjectionViewer. 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 Modifier and Type Method Description IRegionProjectionViewer. computeCollapsedRegion(Position position)Computes the region that must be collapsed when the given position is the position of an expanded projection annotation.PositionProjectionViewer. computeCollapsedRegionAnchor(Position position)Computes the collapsed region anchor for the given position.Method parameters in org.eclipse.jface.text.source.projection with type arguments of type Position Modifier and Type Method Description voidProjectionAnnotationModel. modifyAnnotations(Annotation[] deletions, Map<? extends Annotation,? extends Position> additions, Annotation[] modifications)Modifies the annotation model. -
Uses of Position in org.eclipse.jface.text.templates
Constructors in org.eclipse.jface.text.templates with parameters of type Position Constructor Description DocumentTemplateContext(TemplateContextType type, IDocument document, Position position)Creates a document template context. -
Uses of Position in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor that return Position Modifier and Type Method Description protected PositionAbstractMarkerAnnotationModel. createPositionFromMarker(IMarker marker)Creates and returns the character position of the given marker based on its attributes.PositionAbstractMarkerAnnotationModel. 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 Modifier and Type Method Description protected AnnotationAbstractTextEditor. findAnnotation(int offset, int length, boolean forward, Position annotationPosition)Returns the annotation closest to the given range respecting the given direction.protected booleanMarkerRulerAction. includesRulerLine(Position position, IDocument document)Checks whether a position includes the ruler's line of activity.protected booleanSelectMarkerRulerAction. includesRulerLine(Position position, IDocument document)Checks whether a position includes the ruler's line of activity.booleanAbstractMarkerAnnotationModel. updateMarker(IMarker marker, IDocument document, Position position)Deprecated.useupdateMarker(IDocument, IMarker, Position)instead.booleanAbstractMarkerAnnotationModel. updateMarker(IDocument document, IMarker marker, Position position)Updates the given marker according to the given position in the given document.booleanBasicMarkerUpdater. updateMarker(IMarker marker, IDocument document, Position position)booleanIMarkerUpdater. updateMarker(IMarker marker, IDocument document, Position position)Updates the given marker according to the position of the given document.
-