On 11/4/11 1:47 PM, Peter Klügl (Commented) (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/UIMA-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143960#comment-13143960
 ]

Peter Klügl commented on UIMA-2273:
-----------------------------------

Another question:

What should I use: ICasEditor or AnnotationEditor?
ICasEditor is the clean way, but AnnotationEditor has the methods for the 
listener. Can I extend ICasEditor by addCasEditorInputListener and 
removeCasEditorInputListener?



It should be on the ICasEditor, because it can be used by other ICasEditor implementations also. The Annotation Editor has a listener which is specific to its semantics, e.g. shown types, annotation mode.

Jörn

Reply via email to