Jörn Kottmann wrote:
Hi,
it would be nice to have a facility to listen to changes made to a CAS
object.
In a SWT/RCP application its likely that multiple views display
concurrently some aspects of the CAS object,
if now one view makes a change to the CAS object all other views must
be
JCas version of getLocalFSData() returning wrong type
-
Key: UIMA-142
URL: http://issues.apache.org/jira/browse/UIMA-142
Project: UIMA
Issue Type: Bug
Components: Core Java
[
http://issues.apache.org/jira/browse/UIMA-142?page=comments#action_12460888 ]
Marshall Schor commented on UIMA-142:
-
Changed to return FeatureStructure. This is a supertype of TOP. It allows
better interoperability in mixed JCas /
JCas and CAS interface and impl refactoring for more sharing
Key: UIMA-143
URL: http://issues.apache.org/jira/browse/UIMA-143
Project: UIMA
Issue Type: Improvement
Wrong impl in JCasImpl for getView(local-view-name)
---
Key: UIMA-144
URL: http://issues.apache.org/jira/browse/UIMA-144
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
CASImpl has a hashmap sofa2jcasMap. I think it is superfluous. It is
used in the method
getJCas(SofaFS).
But I think that method can be replaced with a new definition that
doesn't use this map:
getView(SofaFS).getJCas();
Is there a reason we want to have this other hash map?
-Marshall
It appears these some of these methods which are public in the CAS impl
were missing in the interface, and missing in the interface/impl in the
JCas.
I'm adding them - if this is wrong, let me know :-)
-Marshall
[ http://issues.apache.org/jira/browse/UIMA-143?page=all ]
Marshall Schor resolved UIMA-143.
-
Resolution: Fixed
Assignee: Adam Lally (was: Marshall Schor)
Interfaces refactored. JCas Impl forward to CASImpl in many cases.
Assigned to Adam to
[ http://issues.apache.org/jira/browse/UIMA-144?page=all ]
Marshall Schor closed UIMA-144.
---
Fix Version/s: 2.1
Resolution: Fixed
fixed as part of UIMA-143
Wrong impl in JCasImpl for getView(local-view-name)