On 10/11/11 2:43 PM, Peter Klügl wrote:
Yes, that should work. What I haven't seen in your code is the connection for creating (special) annotations by an additional plugin. I simply haven't looked enough to know if there might be a problem. I also wonder why the communication between the views and the editor in the CEV was implemented in such a complicated fashion.

That is because we do not need any "special" code for this. It is done via the CAS API and a small notification system
in ICasDocument so the views are able to update when the CAS is changed.

Another thing that would be really nice (and what the CEV isn't able to), is the visualization of annotations that aren't in the CAS. Here's the use case: TextMarker has a extremly useful view (TextMarker Query), where the user can query a folder structure of xmiCASs with TextMarker rules. He will then be presented the matched texts. When clicking, the xmiCAS is opened and the matched text should be highlighted by the editor. Of course the matched texts itself is maybe not equal to any annotations. What I do with that is something like this: "give me all false positives author annotations that end with a colon and are followed by a date".

That could be search support for the Ide Plugin, I know a couple of users who would like to have that ...

Jörn

Reply via email to