use of org.eclipse.che.ide.api.editor.text.Position in project che by eclipse.
the class AnnotationModelImpl method removeAnnotation.
@Override
public void removeAnnotation(final Annotation annotation) {
if (this.annotations.containsKey(annotation)) {
Position pos = null;
pos = this.annotations.get(annotation);
this.annotations.remove(annotation);
positions.remove(pos);
getAnnotationModelEvent().annotationRemoved(annotation, pos);
fireModelChanged();
}
}
Aggregations