Re: CAS object change notifications

2006-12-26 Thread Marshall Schor
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

[jira] Created: (UIMA-142) JCas version of getLocalFSData() returning wrong type

2006-12-26 Thread Marshall Schor (JIRA)
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

[jira] Commented: (UIMA-142) JCas version of getLocalFSData() returning wrong type

2006-12-26 Thread Marshall Schor (JIRA)
[ 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 /

[jira] Created: (UIMA-143) JCas and CAS interface and impl refactoring for more sharing

2006-12-26 Thread Marshall Schor (JIRA)
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

[jira] Created: (UIMA-144) Wrong impl in JCasImpl for getView(local-view-name)

2006-12-26 Thread Marshall Schor (JIRA)
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

Refactoring / cleanup : getting rid of sofa2jcasMap

2006-12-26 Thread Marshall Schor
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

adding missing methods to CAS / JCas interfaces: getView(String local_sofa_name) and getView(SofaFS)

2006-12-26 Thread Marshall Schor
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

[jira] Resolved: (UIMA-143) JCas and CAS interface and impl refactoring for more sharing

2006-12-26 Thread Marshall Schor (JIRA)
[ 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

[jira] Closed: (UIMA-144) Wrong impl in JCasImpl for getView(local-view-name)

2006-12-26 Thread Marshall Schor (JIRA)
[ 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)