fireChanges(changes, true);
}
}
-
/* (non-Javadoc)
* @see IAnnotationModelListener#modelChanged(IAnnotationModel)
*/
public void modelChanged(AnnotationModelEvent event) {
if (event instanceof CompilationUnitAnnotationModelEvent) {
CompilationUnitAnnotationModelEvent cuEvent= (CompilationUnitAnnotationModelEvent) event;
- if (cuEvent.includesMarkerAnnotationChanges()) {
+ if (cuEvent.includesProblemMarkerAnnotationChanges()) {
IResource[] changes= new IResource[] { cuEvent.getUnderlyingResource() };
fireChanges(changes, false);
}
}
}
-
/**
* Adds a listener for problem marker changes.
*/