Interface ICasDocumentListener

All Known Implementing Classes:
AbstractAnnotationDocumentListener, AbstractDocumentListener, TypeGroupedContentProvider

public interface ICasDocumentListener
This interface is used to notifies clients about FeatureStructure changes.
  • Method Details

    • added

      void added(FeatureStructure newFeatureStructure)
      This method is called if an FeatureStructure is added.
      Parameters:
      newFeatureStructure - - the added FeatureStructure.
    • added

      void added(Collection<FeatureStructure> newFeatureStructure)
      This method is called if multiple FeatureStructures are added.
      Parameters:
      newFeatureStructure - - the added FeatureStructures.
    • removed

      void removed(FeatureStructure deletedFeatureStructure)
      This method is called if an FeatureStructure is removed.
      Parameters:
      deletedFeatureStructure - - the removed FeatureStructure.
    • removed

      void removed(Collection<FeatureStructure> deletedFeatureStructure)
      This method is called if multiple FeatureStructures are removed.
      Parameters:
      deletedFeatureStructure - - the removed Annotations.
    • updated

      void updated(FeatureStructure featureStructure)
      This method is called if the FeatureStructure changed.
      Parameters:
      featureStructure - the feature structure
    • updated

      void updated(Collection<FeatureStructure> featureStructure)
      This method is called if the FeatureStructures changed.
      Parameters:
      featureStructure - the feature structure
    • changed

      void changed()
      This method is called if FeatureStructures in the document are changed. Note: The text can not be changed
    • viewChanged

      void viewChanged(String oldViewName, String newViewName)
      This 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.
      Parameters:
      oldViewName - the old view name
      newViewName - the new view name