/** * Adds the given annotation to the set of annotations that are reported as * being removed from the model. If this event is considered a world * change, it is no longer so after this method has successfully finished. * * @param annotation the removed annotation * @since 3.0 */ public void annotationRemoved(Annotation annotation) { annotationRemoved(annotation, null); }
/** * Adds the given annotation to the set of annotations that are reported as * being removed from the model. If this event is considered a world * change, it is no longer so after this method has successfully finished. * * @param annotation the removed annotation * @since 3.0 */ public void annotationRemoved(Annotation annotation) { annotationRemoved(annotation, null); }
@Override public void annotationRemoved(Annotation annotation, Position position) { super.annotationRemoved(annotation, position); testIfProblemMarker(annotation); }
@Override public void annotationRemoved(Annotation annotation, Position position) { super.annotationRemoved(annotation, position); testIfProblemMarker(annotation); }
@Override public void annotationRemoved(Annotation annotation) { super.annotationRemoved(annotation); testIfProblemMarker(annotation); }
@Override public void annotationRemoved(Annotation annotation) { super.annotationRemoved(annotation); testIfProblemMarker(annotation); }
public void annotationRemoved(Annotation annotation) { super.annotationRemoved(annotation); testIfProblemMarker(annotation); }
public void annotationRemoved(Annotation annotation, Position position) { super.annotationRemoved(annotation, position); testIfProblemMarker(annotation); }
/** * Removes the given annotation from the annotation model. * If requested inform all model change listeners about this change. * * @param annotation the annotation to be removed * @param fireModelChanged indicates whether to notify all model listeners */ protected void removeAnnotation(Annotation annotation, boolean fireModelChanged) { if (fAnnotations.containsKey(annotation)) { Position p= null; p= fAnnotations.get(annotation); if (fDocument != null) { removePosition(fDocument, p); // p.delete(); } fAnnotations.remove(annotation); fPositions.remove(p); synchronized (getLockObject()) { getAnnotationModelEvent().annotationRemoved(annotation, p); } if (fireModelChanged) fireModelChanged(); } }
/** * Removes the given annotation from the annotation model. * If requested inform all model change listeners about this change. * * @param annotation the annotation to be removed * @param fireModelChanged indicates whether to notify all model listeners */ protected void removeAnnotation(Annotation annotation, boolean fireModelChanged) { if (fAnnotations.containsKey(annotation)) { Position p= null; p= fAnnotations.get(annotation); if (fDocument != null) { removePosition(fDocument, p); // p.delete(); } fAnnotations.remove(annotation); fPositions.remove(p); synchronized (getLockObject()) { getAnnotationModelEvent().annotationRemoved(annotation, p); } if (fireModelChanged) fireModelChanged(); } }
/** * Removes all annotations from the annotation model. If requested * inform all model change listeners about this change. * * @param fireModelChanged indicates whether to notify all model listeners */ protected void removeAllAnnotations(boolean fireModelChanged) { if (fDocument != null) { Iterator<Annotation> e= getAnnotationMap().keySetIterator(); while (e.hasNext()) { Annotation a= e.next(); Position p= fAnnotations.get(a); removePosition(fDocument, p); // p.delete(); synchronized (getLockObject()) { getAnnotationModelEvent().annotationRemoved(a, p); } } } fAnnotations.clear(); fPositions.clear(); if (fireModelChanged) fireModelChanged(); }
/** * Removes all annotations from the annotation model. If requested * inform all model change listeners about this change. * * @param fireModelChanged indicates whether to notify all model listeners */ protected void removeAllAnnotations(boolean fireModelChanged) { if (fDocument != null) { Iterator<Annotation> e= getAnnotationMap().keySetIterator(); while (e.hasNext()) { Annotation a= e.next(); Position p= fAnnotations.get(a); removePosition(fDocument, p); // p.delete(); synchronized (getLockObject()) { getAnnotationModelEvent().annotationRemoved(a, p); } } } fAnnotations.clear(); fPositions.clear(); if (fireModelChanged) fireModelChanged(); }
ame.annotationRemoved(rd.getDiffRegion(fDifferences, fLeftDocument));
ame.annotationRemoved(rd.getDiffRegion(fDifferences, fLeftDocument));
ame.annotationRemoved(rd.getDiffRegion(fDifferences, fLeftDocument));