public interface IAnnotationModelExtension2
IAnnotationModel
with the
ability to retrieve a set of annotations within a given region.Modifier and Type | Method and Description |
---|---|
Iterator |
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.
|
Iterator getAnnotationIterator(int offset, int length, boolean canStartBefore, boolean canEndAfter)
offset
- the start position of the region, must be >= 0length
- the length of the region, must be >= 0canStartBefore
- if true
then annotations are included
which start before the region if they end at or after the region's startcanEndAfter
- if true
then annotations are included
which end after the region if they start at or before the region's endAnnotation
)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.