Methods in
org.eclipse.jface.text.source with parameters of type
Annotation
|
void
|
AnnotationModel.
addAnnotation
(
Annotation annotation,
Position position)
|
void
|
IAnnotationModel.
addAnnotation
(
Annotation annotation,
Position position)
Adds a annotation to this annotation model. |
protected void
|
AnnotationModel.
addAnnotation
(
Annotation annotation,
Position position,
boolean fireModelChanged)
Adds the given annotation to this 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.SquigglesStrategy.
draw
(
Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color)
Deprecated. |
void
|
AnnotationPainter.NullStrategy.
draw
(
Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color)
|
int
|
IAnnotationAccessExtension.
getLayer
(
Annotation annotation)
Returns the layer for given annotation. |
Position
|
AnnotationModel.
getPosition
(
Annotation annotation)
|
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. |
Object
|
IAnnotationAccess.
getType
(
Annotation annotation)
Deprecated. use Annotation.getType()
|
String
|
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 return true
|
boolean
|
IAnnotationAccessExtension.
isPaintable
(
Annotation annotation)
Returns true if painting annotation will produce something
meaningful, false if not. |
boolean
|
IAnnotationAccess.
isTemporary
(
Annotation annotation)
Deprecated. use Annotation.isPersistent()
|
protected void
|
AnnotationModel.
modifyAnnotation
(
Annotation annotation,
boolean fireModelChanged)
Modifies the given annotation if the annotation is managed by this
annotation model. |
void
|
IAnnotationModelExtension.
modifyAnnotationPosition
(
Annotation annotation,
Position position)
Modifies the position associated with the given annotation to equal the
given position. |
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
|
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)
|
void
|
IAnnotationModel.
removeAnnotation
(
Annotation annotation)
Removes the given annotation from the model. |
protected void
|
AnnotationModel.
removeAnnotation
(
Annotation annotation,
boolean fireModelChanged)
Removes the given annotation from the annotation model. |
void
|
IAnnotationModelExtension.
replaceAnnotations
(
Annotation[] annotationsToRemove,
Map annotationsToAdd)
Adds and removes annotations to/from this annotation model in a single
step. |
void
|
AnnotationModel.
replaceAnnotations
(
Annotation[] annotationsToRemove,
Map annotationsToAdd)
|
protected void
|
AnnotationModel.
replaceAnnotations
(
Annotation[] annotationsToRemove,
Map annotationsToAdd,
boolean fireModelChanged)
Replaces the given annotations in this model and if advised fires a
model change event. |
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? |