Am 04.11.2011 14:01, schrieb Jörn Kottmann:
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.


I used ICasEditor now and casted it in the views to AnnotationEditor. That wouldn't make sense then. The only solution I see right now is the extend the interface of ICasEditor. Any ideas?

Peter

--
---------------------------------------------------------------------
Dipl.-Inf. Peter Klügl
Universität Würzburg        Tel.: +49-(0)931-31-86741
Am Hubland                  Fax.: +49-(0)931-31-86732
97074 Würzburg              mail: [email protected]
     http://www.is.informatik.uni-wuerzburg.de/en/staff/kluegl_peter/
---------------------------------------------------------------------

Reply via email to