Class AbstractAnnotationDocumentListener
java.lang.Object
org.apache.uima.caseditor.editor.AbstractDocumentListener
org.apache.uima.caseditor.editor.AbstractAnnotationDocumentListener
- All Implemented Interfaces:
ICasDocumentListener
- Direct Known Subclasses:
TypeGroupedContentProvider
This listener listens only for
AnnotationFS change events. All other change events for
FeatureStructures are filtered.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadded(Collection<FeatureStructure> structures) Add notification.protected abstract voidaddedAnnotation(Collection<AnnotationFS> annotations) Added annotation.voidremoved(Collection<FeatureStructure> structures) Remove notification.protected abstract voidremovedAnnotation(Collection<AnnotationFS> annotations) Removed annotation.voidupdated(Collection<FeatureStructure> structures) Update notification.protected abstract voidupdatedAnnotation(Collection<AnnotationFS> annotations) Updated annotation.Methods inherited from class AbstractDocumentListener
added, changed, removed, updated, viewChanged
-
Constructor Details
-
AbstractAnnotationDocumentListener
public AbstractAnnotationDocumentListener()
-
-
Method Details
-
added
Add notification.- Specified by:
addedin interfaceICasDocumentListener- Overrides:
addedin classAbstractDocumentListener- Parameters:
structures- the structures
-
removed
Remove notification.- Specified by:
removedin interfaceICasDocumentListener- Overrides:
removedin classAbstractDocumentListener- Parameters:
structures- the structures
-
updated
Update notification.- Specified by:
updatedin interfaceICasDocumentListener- Overrides:
updatedin classAbstractDocumentListener- Parameters:
structures- the structures
-
addedAnnotation
Added annotation.- Parameters:
annotations- the annotations
-
removedAnnotation
Removed annotation.- Parameters:
annotations- the annotations
-
updatedAnnotation
Updated annotation.- Parameters:
annotations- the annotations
-