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, ornullif 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 booleanDefaultTextHover.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 TypeMethodDescriptionbooleanIQuickAssistAssistant.canFix(Annotation annotation) Tells whether this assistant has a fix for the given annotation.booleanIQuickAssistProcessor.canFix(Annotation annotation) Tells whether this processor has a fix for the given annotation.booleanQuickAssistAssistant.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.fAnnotationsDeprecated.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 TypeMethodDescriptionvoidAnnotationModel.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.voidAnnotationModelEvent.annotationAdded(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being added from the model.voidAnnotationModelEvent.annotationChanged(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being changed from the model.voidAnnotationModelEvent.annotationRemoved(Annotation annotation) Adds the given annotation to the set of annotations that are reported as being removed from the model.voidAnnotationModelEvent.annotationRemoved(Annotation annotation, Position position) Adds the given annotation to the set of annotations that are reported as being removed from the model.voidAnnotationPainter.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.voidAnnotationPainter.NullStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) voidAnnotationPainter.SquigglesStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) Deprecated.intIAnnotationAccessExtension.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 booleanDefaultAnnotationHover.isIncluded(Annotation annotation) Tells whether the annotation should be included in the computation.booleanIAnnotationAccess.isMultiLine(Annotation annotation) Deprecated.assumed to always returntruebooleanIAnnotationAccessExtension.isPaintable(Annotation annotation) Returnstrueif paintingannotationwill produce something meaningful,falseif not.booleanIAnnotationAccess.isTemporary(Annotation annotation) Deprecated.useAnnotation.isPersistent()protected voidAnnotationModel.modifyAnnotation(Annotation annotation, boolean fireModelChanged) Modifies the given annotation if the annotation is managed by this annotation 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.voidIAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) Draws a graphical representation of the given annotation within the given bounds.voidAnnotationModel.removeAnnotation(Annotation annotation) protected voidAnnotationModel.removeAnnotation(Annotation annotation, boolean fireModelChanged) Removes the given annotation from the annotation model.voidIAnnotationModel.removeAnnotation(Annotation annotation) Removes the given annotation from the model.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.voidISourceViewer.setRangeIndicator(Annotation rangeIndicator) Sets the annotation used by this viewer as range indicator.voidSourceViewer.setRangeIndicator(Annotation rangeIndicator) voidVerticalRulerEvent.setSelectedAnnotation(Annotation annotation) protected booleanAnnotationPainter.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 voidAnnotationModel.removeAnnotations(List<? extends Annotation> annotations, boolean fireModelChanged, boolean modelInitiated) Removes the given annotations from this model.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.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 TypeClassDescriptionclassAbstract class for inlined annotation.classInlined annotation which is drawn in the line content and which takes some place with a given width.classInlined annotation which is drawn after a line and which takes some place with a given height.classInlined 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 TypeClassDescriptionclassA bag of annotations.classAnnotation 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 ornullif the bag is empty.Methods in org.eclipse.jface.text.source.projection with parameters of type AnnotationModifier and TypeMethodDescriptionvoidAnnotationBag.add(Annotation annotation) Adds the given annotation to the annotation bag.voidProjectionAnnotationModel.collapse(Annotation annotation) Changes the state of the given annotation to collapsed.voidProjectionAnnotationModel.expand(Annotation annotation) Changes the state of the given annotation to expanded.voidProjectionAnnotationModel.modifyAnnotations(Annotation[] deletions, Map<? extends Annotation, ? extends Position> additions, Annotation[] modifications) Modifies the annotation model.voidAnnotationBag.remove(Annotation annotation) Removes the given annotation from the annotation bag.voidProjectionAnnotationModel.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 TypeMethodDescriptionvoidProjectionAnnotationModel.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 booleanTextSourceViewerConfiguration.isShowInOverviewRuler(Annotation annotation) protected booleanTextSourceViewerConfiguration.isShowInVerticalRuler(Annotation annotation) protected booleanTextSourceViewerConfiguration.isShownInText(Annotation annotation) -
Uses of Annotation in org.eclipse.ui.texteditor
Subclasses of Annotation in org.eclipse.ui.texteditorModifier and TypeClassDescriptionclassSpecialized annotation to indicate a particular range of text lines.classAnnotation representing a marker on a resource in the workspace.classAn annotation representing a marker.Methods in org.eclipse.ui.texteditor that return AnnotationModifier and TypeMethodDescriptionprotected AnnotationAbstractTextEditor.findAnnotation(int offset, int length, boolean forward, Position annotationPosition) Returns the annotation closest to the given range respecting the given direction.protected final AnnotationAbstractTextEditor.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.intDefaultMarkerAnnotationAccess.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 booleanDefaultMarkerAnnotationAccess.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.booleanDefaultMarkerAnnotationAccess.isMultiLine(Annotation annotation) Deprecated.assumed to always returntrueprotected booleanAbstractDecoratedTextEditor.isNavigationTarget(Annotation annotation) Returns whether the given annotation is configured as a target for the "Go to Next/Previous Annotation" actions.protected booleanAbstractTextEditor.isNavigationTarget(Annotation annotation) Returns whether the given annotation is configured as a target for the "Go to Next/Previous Annotation" actions.booleanDefaultMarkerAnnotationAccess.isPaintable(Annotation annotation) booleanDefaultMarkerAnnotationAccess.isTemporary(Annotation annotation) Deprecated.assumed to always returntruevoidDefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) protected voidAbstractTextEditor.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 voidAbstractDecoratedTextEditor.updateMarkerViews(Annotation annotation) Updates visible views that show markers.Method parameters in org.eclipse.ui.texteditor with type arguments of type AnnotationModifier and TypeMethodDescriptionprotected voidAbstractMarkerAnnotationModel.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 TypeMethodDescriptionbooleanSpellingCorrectionProcessor.canFix(Annotation annotation)
getAnnotationMapinstead