Class AbstractDocumentListener
java.lang.Object
org.apache.uima.caseditor.editor.AbstractDocumentListener
- All Implemented Interfaces:
ICasDocumentListener
- Direct Known Subclasses:
AbstractAnnotationDocumentListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadded(Collection<FeatureStructure> newFeatureStructure) This method is called if multipleFeatureStructures are added.voidadded(FeatureStructure newAnnotation) Forwards the call.voidchanged()This method is called ifFeatureStructures in the document are changed.voidremoved(Collection<FeatureStructure> deletedFeatureStructure) This method is called if multipleFeatureStructures are removed.voidremoved(FeatureStructure deletedAnnotation) Forwards the call.voidupdated(Collection<FeatureStructure> featureStructure) This method is called if theFeatureStructures changed.voidupdated(FeatureStructure annotation) Forwards the call.voidviewChanged(String oldViewName, String newViewName) This method is called when the currently active view is changed in the document.
-
Constructor Details
-
AbstractDocumentListener
public AbstractDocumentListener()
-
-
Method Details
-
added
Description copied from interface:ICasDocumentListenerThis method is called if multipleFeatureStructures are added.- Specified by:
addedin interfaceICasDocumentListener- Parameters:
newFeatureStructure- - the addedFeatureStructures.
-
added
Forwards the call.- Specified by:
addedin interfaceICasDocumentListener- Parameters:
newAnnotation- the new annotation
-
removed
Description copied from interface:ICasDocumentListenerThis method is called if multipleFeatureStructures are removed.- Specified by:
removedin interfaceICasDocumentListener- Parameters:
deletedFeatureStructure- - the removedAnnotations.
-
removed
Forwards the call.- Specified by:
removedin interfaceICasDocumentListener- Parameters:
deletedAnnotation- the deleted annotation
-
updated
Description copied from interface:ICasDocumentListenerThis method is called if theFeatureStructures changed.- Specified by:
updatedin interfaceICasDocumentListener- Parameters:
featureStructure- the feature structure
-
updated
Forwards the call.- Specified by:
updatedin interfaceICasDocumentListener- Parameters:
annotation- the annotation
-
changed
public void changed()Description copied from interface:ICasDocumentListenerThis method is called ifFeatureStructures in the document are changed. Note: The text can not be changed- Specified by:
changedin interfaceICasDocumentListener
-
viewChanged
Description copied from interface:ICasDocumentListenerThis method is called when the currently active view is changed in the document. A view changed does not indicate a structural change, but usually feature structures must be completely synchronized afterward.- Specified by:
viewChangedin interfaceICasDocumentListener- Parameters:
oldViewName- the old view namenewViewName- the new view name
-