org.eclipse.cdt.internal.ui.editor
Class TranslationUnitAnnotationModelEvent
java.lang.Object
org.eclipse.jface.text.source.AnnotationModelEvent
org.eclipse.cdt.internal.ui.editor.TranslationUnitAnnotationModelEvent
public class TranslationUnitAnnotationModelEvent
- extends org.eclipse.jface.text.source.AnnotationModelEvent
TranslationUnitAnnotationModelEvent
Event sent out by changes of the compilation unit annotation model.
Constructor Summary |
TranslationUnitAnnotationModelEvent(org.eclipse.jface.text.source.IAnnotationModel model,
org.eclipse.core.resources.IResource underlyingResource)
Constructor for CompilationUnitAnnotationModelEvent. |
Methods inherited from class org.eclipse.jface.text.source.AnnotationModelEvent |
getAddedAnnotations, getAnnotationModel, getChangedAnnotations, getPositionOfRemovedAnnotation, getRemovedAnnotations, isEmpty, isValid, isWorldChange, markSealed |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslationUnitAnnotationModelEvent
public TranslationUnitAnnotationModelEvent(org.eclipse.jface.text.source.IAnnotationModel model,
org.eclipse.core.resources.IResource underlyingResource)
- Constructor for CompilationUnitAnnotationModelEvent.
- Parameters:
model
- underlyingResource
- The annotation model's underlying resource
annotationAdded
public void annotationAdded(org.eclipse.jface.text.source.Annotation annotation)
- Overrides:
annotationAdded
in class org.eclipse.jface.text.source.AnnotationModelEvent
annotationRemoved
public void annotationRemoved(org.eclipse.jface.text.source.Annotation annotation,
org.eclipse.jface.text.Position position)
- Overrides:
annotationRemoved
in class org.eclipse.jface.text.source.AnnotationModelEvent
annotationRemoved
public void annotationRemoved(org.eclipse.jface.text.source.Annotation annotation)
- Overrides:
annotationRemoved
in class org.eclipse.jface.text.source.AnnotationModelEvent
annotationChanged
public void annotationChanged(org.eclipse.jface.text.source.Annotation annotation)
- Overrides:
annotationChanged
in class org.eclipse.jface.text.source.AnnotationModelEvent
includesProblemMarkerAnnotationChanges
public boolean includesProblemMarkerAnnotationChanges()
- Returns whether the change included problem marker annotations.
- Returns:
true
if the change included marker annotations
getUnderlyingResource
public org.eclipse.core.resources.IResource getUnderlyingResource()
- Returns the annotation model's underlying resource