[ 
https://issues.apache.org/jira/browse/UIMA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504907
 ] 

Jörn Kottmann commented on UIMA-360:
------------------------------------

Sure, currently the Cas Editor has very simple cas change notidication, for 
added, removed and changed annotations. This works
fine if the user is manually modiyfing the cas. If I start an automatic tagger 
it fails (cause the uima code does not calls my methods to notifiy about a 
change). 

I think change notifications should belong to the core and not in an ui layer.
There are options to make it fast enough that it does not slows the current 
code.
We can check a variable which contains a set of listeners against null. 
An other option is to decorate the cas on creation with a change notifcation 
layer.

> Add CAS change notifications
> ----------------------------
>
>                 Key: UIMA-360
>                 URL: https://issues.apache.org/jira/browse/UIMA-360
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Jörn Kottmann
>         Attachments: cas editor doc.txt, images.zip
>
>
> Add a facility to listen to changes which are made to the CAS.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to