Uses of Class
org.eclipse.jface.text.source.Annotation
Packages that use Annotation
Package
Description
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a framework for creating and manipulating text documents.
This package provides the quick assist assistant add-on for an
ISourceViewer
.Provides a framework for connecting document regions
with annotations and for displaying those.
This package provides the UI part for projection documents of which the most important part is the projection viewer.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.Provides a framework for text editors obeying to the
desktop rules.
Partial infrastructure for spell checking in text editors.
-
Uses of Annotation in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return AnnotationModifier and TypeMethodDescriptionIInstructionPointerPresentation.getInstructionPointerAnnotation
(IEditorPart editorPart, IStackFrame frame) Returns an annotation used for the specified stack frame in the specified editor, ornull
if a default annotation should be used. -
Uses of Annotation in org.eclipse.jface.text
Methods in org.eclipse.jface.text with parameters of type AnnotationModifier and TypeMethodDescriptionprotected boolean
DefaultTextHover.isIncluded
(Annotation annotation) Tells whether the annotation should be included in the computation. -
Uses of Annotation in org.eclipse.jface.text.quickassist
Methods in org.eclipse.jface.text.quickassist with parameters of type AnnotationModifier and TypeMethodDescriptionboolean
IQuickAssistAssistant.canFix
(Annotation annotation) Tells whether this assistant has a fix for the given annotation.boolean
IQuickAssistProcessor.canFix
(Annotation annotation) Tells whether this processor has a fix for the given annotation.boolean
QuickAssistAssistant.canFix
(Annotation annotation) -
Uses of Annotation in org.eclipse.jface.text.source
Fields in org.eclipse.jface.text.source with type parameters of type AnnotationModifier and TypeFieldDescriptionprotected Map
<Annotation, Position> AnnotationModel.fAnnotations
Deprecated.Methods in org.eclipse.jface.text.source that return AnnotationModifier and TypeMethodDescriptionAnnotationModelEvent.getAddedAnnotations()
Returns the added annotations.AnnotationModelEvent.getChangedAnnotations()
Returns the changed annotations.AnnotationModelEvent.getRemovedAnnotations()
Returns the removed annotations.VerticalRulerEvent.getSelectedAnnotation()
Methods in org.eclipse.jface.text.source that return types with arguments of type AnnotationModifier and TypeMethodDescriptionIAnnotationMap.entrySet()
The returned set is not synchronized on this annotation map's lock object.AnnotationModel.getAnnotationIterator()
protected Iterator
<Annotation> AnnotationModel.getAnnotationIterator
(boolean cleanup) Returns all annotations managed by this model.AnnotationModel.getAnnotationIterator
(int offset, int length, boolean canStartBefore, boolean canEndAfter) Returns an iterator over all annotations managed by this model that are inside the given region.IAnnotationModel.getAnnotationIterator()
Returns all annotations managed by this model.IAnnotationModelExtension2.getAnnotationIterator
(int offset, int length, boolean canStartBefore, boolean canEndAfter) Returns an iterator over all annotations managed by this model that are inside the given region.IAnnotationMap.keySet()
The returned set is not synchronized on this annotation map's lock object.IAnnotationMap.keySetIterator()
Returns an iterator for a copy of this map's key set.Methods in org.eclipse.jface.text.source with parameters of type AnnotationModifier and TypeMethodDescriptionvoid
AnnotationModel.addAnnotation
(Annotation annotation, Position position) protected void
AnnotationModel.addAnnotation
(Annotation annotation, Position position, boolean fireModelChanged) Adds the given annotation to this model.void
IAnnotationModel.addAnnotation
(Annotation annotation, Position position) Adds a annotation to this annotation model.void
AnnotationModelEvent.annotationAdded
(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being added from the model.void
AnnotationModelEvent.annotationChanged
(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being changed from the model.void
AnnotationModelEvent.annotationRemoved
(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being removed from the 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
AnnotationPainter.IDrawingStrategy.draw
(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) Draws a decoration for an annotation onto the specified GC at the given text range.void
AnnotationPainter.NullStrategy.draw
(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) void
AnnotationPainter.SquigglesStrategy.draw
(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) Deprecated.int
IAnnotationAccessExtension.getLayer
(Annotation annotation) Returns the layer for given annotation.AnnotationModel.getPosition
(Annotation annotation) IAnnotationModel.getPosition
(Annotation annotation) Returns the position associated with the given annotation.AnnotationModelEvent.getPositionOfRemovedAnnotation
(Annotation annotation) Returns the position of the removed annotation at that point in time when the annotation has been removed.IAnnotationAccess.getType
(Annotation annotation) Deprecated.useAnnotation.getType()
IAnnotationAccessExtension.getTypeLabel
(Annotation annotation) Returns the label for the given annotation's type.protected boolean
DefaultAnnotationHover.isIncluded
(Annotation annotation) Tells whether the annotation should be included in the computation.boolean
IAnnotationAccess.isMultiLine
(Annotation annotation) Deprecated.assumed to always returntrue
boolean
IAnnotationAccessExtension.isPaintable
(Annotation annotation) Returnstrue
if paintingannotation
will produce something meaningful,false
if not.boolean
IAnnotationAccess.isTemporary
(Annotation annotation) Deprecated.useAnnotation.isPersistent()
protected void
AnnotationModel.modifyAnnotation
(Annotation annotation, boolean fireModelChanged) Modifies the given annotation if the annotation is managed by this annotation model.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.void
IAnnotationModelExtension.modifyAnnotationPosition
(Annotation annotation, Position position) Modifies the position associated with the given annotation to equal the given position.void
IAnnotationAccessExtension.paint
(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) Draws a graphical representation of the given annotation within the given bounds.void
AnnotationModel.removeAnnotation
(Annotation annotation) protected void
AnnotationModel.removeAnnotation
(Annotation annotation, boolean fireModelChanged) Removes the given annotation from the annotation model.void
IAnnotationModel.removeAnnotation
(Annotation annotation) Removes the given annotation from the model.void
AnnotationModel.replaceAnnotations
(Annotation[] annotationsToRemove, Map<? extends Annotation, ? extends Position> annotationsToAdd) protected void
AnnotationModel.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.void
IAnnotationModelExtension.replaceAnnotations
(Annotation[] annotationsToRemove, Map<? extends Annotation, ? extends Position> annotationsToAdd) Adds and removes annotations to/from this annotation model in a single step.void
ISourceViewer.setRangeIndicator
(Annotation rangeIndicator) Sets the annotation used by this viewer as range indicator.void
SourceViewer.setRangeIndicator
(Annotation rangeIndicator) void
VerticalRulerEvent.setSelectedAnnotation
(Annotation annotation) protected boolean
AnnotationPainter.skip
(Annotation annotation) Should the given annotation be skipped when handling draw requests?Method parameters in org.eclipse.jface.text.source with type arguments of type AnnotationModifier and TypeMethodDescriptionprotected void
AnnotationModel.removeAnnotations
(List<? extends Annotation> annotations, boolean fireModelChanged, boolean modelInitiated) Removes the given annotations from this model.void
AnnotationModel.replaceAnnotations
(Annotation[] annotationsToRemove, Map<? extends Annotation, ? extends Position> annotationsToAdd) protected void
AnnotationModel.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.void
IAnnotationModelExtension.replaceAnnotations
(Annotation[] annotationsToRemove, Map<? extends Annotation, ? extends Position> annotationsToAdd) Adds and removes annotations to/from this annotation model in a single step.Constructors in org.eclipse.jface.text.source with parameters of type AnnotationModifierConstructorDescriptionVerticalRulerEvent
(Annotation annotation) Creates a new event.VerticalRulerEvent
(Annotation annotation, Event event) Creates a new event. -
Uses of Annotation in org.eclipse.jface.text.source.inlined
Subclasses of Annotation in org.eclipse.jface.text.source.inlinedModifier and TypeClassDescriptionclass
Abstract class for inlined annotation.class
Inlined annotation which is drawn in the line content and which takes some place with a given width.class
Inlined annotation which is drawn before a line and which takes some place with a given height. -
Uses of Annotation in org.eclipse.jface.text.source.projection
Subclasses of Annotation in org.eclipse.jface.text.source.projectionModifier and TypeClassDescriptionclass
A bag of annotations.class
Annotation used to represent the projection of a master document onto aProjectionDocument
.Methods in org.eclipse.jface.text.source.projection that return types with arguments of type AnnotationModifier and TypeMethodDescriptionAnnotationBag.iterator()
Returns an iterator for all annotation inside this annotation bag ornull
if the bag is empty.Methods in org.eclipse.jface.text.source.projection with parameters of type AnnotationModifier and TypeMethodDescriptionvoid
AnnotationBag.add
(Annotation annotation) Adds the given annotation to the annotation bag.void
ProjectionAnnotationModel.collapse
(Annotation annotation) Changes the state of the given annotation to collapsed.void
ProjectionAnnotationModel.expand
(Annotation annotation) Changes the state of the given annotation to expanded.void
ProjectionAnnotationModel.modifyAnnotations
(Annotation[] deletions, Map<? extends Annotation, ? extends Position> additions, Annotation[] modifications) Modifies the annotation model.void
AnnotationBag.remove
(Annotation annotation) Removes the given annotation from the annotation bag.void
ProjectionAnnotationModel.toggleExpansionState
(Annotation annotation) Toggles the expansion state of the given annotation.Method parameters in org.eclipse.jface.text.source.projection with type arguments of type AnnotationModifier and TypeMethodDescriptionvoid
ProjectionAnnotationModel.modifyAnnotations
(Annotation[] deletions, Map<? extends Annotation, ? extends Position> additions, Annotation[] modifications) Modifies the annotation model. -
Uses of Annotation in org.eclipse.ui.editors.text
Methods in org.eclipse.ui.editors.text with parameters of type AnnotationModifier and TypeMethodDescriptionprotected boolean
TextSourceViewerConfiguration.isShowInOverviewRuler
(Annotation annotation) protected boolean
TextSourceViewerConfiguration.isShowInVerticalRuler
(Annotation annotation) protected boolean
TextSourceViewerConfiguration.isShownInText
(Annotation annotation) -
Uses of Annotation in org.eclipse.ui.texteditor
Subclasses of Annotation in org.eclipse.ui.texteditorModifier and TypeClassDescriptionclass
Specialized annotation to indicate a particular range of text lines.class
Annotation representing a marker on a resource in the workspace.class
An annotation representing a marker.Methods in org.eclipse.ui.texteditor that return AnnotationModifier and TypeMethodDescriptionprotected Annotation
AbstractTextEditor.findAnnotation
(int offset, int length, boolean forward, Position annotationPosition) Returns the annotation closest to the given range respecting the given direction.protected final Annotation
AbstractTextEditor.getRangeIndicator()
Returns the editor's range indicator.AbstractDecoratedTextEditor.gotoAnnotation
(boolean forward) Jumps to the next annotation according to the given direction.AbstractTextEditor.gotoAnnotation
(boolean forward) Jumps to the next annotation according to the given direction.ITextEditorExtension4.gotoAnnotation
(boolean forward) Jumps to the next annotation according to the given direction.Methods in org.eclipse.ui.texteditor with parameters of type AnnotationModifier and TypeMethodDescriptionAnnotationPreferenceLookup.getAnnotationPreference
(Annotation annotation) Returns the annotation preference of a given annotation.IAnnotationImageProvider.getImageDescriptorId
(Annotation annotation) Returns the image descriptor id of the image for the given annotation.int
DefaultMarkerAnnotationAccess.getLayer
(Annotation annotation) IAnnotationImageProvider.getManagedImage
(Annotation annotation) Returns the image for the given annotation ornull
.DefaultMarkerAnnotationAccess.getType
(Annotation annotation) Deprecated.useAnnotation.getType()
DefaultMarkerAnnotationAccess.getTypeLabel
(Annotation annotation) protected boolean
DefaultMarkerAnnotationAccess.hasQuickFix
(Annotation annotation) Checks whether there's a quick assist assistant and if so, whether the assistant has a possible fix for the given annotation.boolean
DefaultMarkerAnnotationAccess.isMultiLine
(Annotation annotation) Deprecated.assumed to always returntrue
protected boolean
AbstractDecoratedTextEditor.isNavigationTarget
(Annotation annotation) Returns whether the given annotation is configured as a target for the "Go to Next/Previous Annotation" actions.protected boolean
AbstractTextEditor.isNavigationTarget
(Annotation annotation) Returns whether the given annotation is configured as a target for the "Go to Next/Previous Annotation" actions.boolean
DefaultMarkerAnnotationAccess.isPaintable
(Annotation annotation) boolean
DefaultMarkerAnnotationAccess.isTemporary
(Annotation annotation) Deprecated.assumed to always returntrue
void
DefaultMarkerAnnotationAccess.paint
(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) protected void
AbstractTextEditor.setRangeIndicator
(Annotation rangeIndicator) Sets the annotation which this editor uses to represent the highlight range if the editor is configured to show the entire document.protected void
AbstractDecoratedTextEditor.updateMarkerViews
(Annotation annotation) Updates visible views that show markers.Method parameters in org.eclipse.ui.texteditor with type arguments of type AnnotationModifier and TypeMethodDescriptionprotected void
AbstractMarkerAnnotationModel.removeAnnotations
(List<? extends Annotation> annotations, boolean fireModelChanged, boolean modelInitiated) -
Uses of Annotation in org.eclipse.ui.texteditor.spelling
Subclasses of Annotation in org.eclipse.ui.texteditor.spellingMethods in org.eclipse.ui.texteditor.spelling with parameters of type AnnotationModifier and TypeMethodDescriptionboolean
SpellingCorrectionProcessor.canFix
(Annotation annotation)
getAnnotationMap
instead