[
https://issues.apache.org/jira/browse/UIMA-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126496#comment-13126496
]
Joern Kottmann commented on UIMA-2252:
--------------------------------------
The Cas Editor is using ISelectionProvider and ISelectionListener to
synchronize selections between different views. You also need to use this.
To register a selection listener in a view you would do a call like this:
getSite().getPage().addSelectionListener(...);
And to register the selection provider:
getSite().setSelectionProvider(...);
In the Cas Editor views usually a JFace Viewer is registered as the selection
provider,
e.g. a list, table, tree, etc.
The viewer contains usually your element objects, if this is not a
FeatureStructure,
you should return the FeatureStructure via getAdapter.
> Migrate TextMarker visualization to CAS Editor
> ----------------------------------------------
>
> Key: UIMA-2252
> URL: https://issues.apache.org/jira/browse/UIMA-2252
> Project: UIMA
> Issue Type: New Feature
> Components: TextMarker
> Reporter: Peter Klügl
> Assignee: Peter Klügl
>
> Start the migration of the CEV plugins of the TextMarker using the CAS Editor
> code base. Investigate the which changes in the CAS Editor are needed to
> support the existing TextMarker functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira