Did anyone try to open a CAS file outside of a Cas
Editor Project ?
Would be nice to have a little feedback on the mechanism which
it is using right now to find a type system.
That is:
- Retrieve it form a default location (a file named TypeSystem.xml in
the root of the project)
- If the default type system is not there, it asks for one
Jörn
On 10/5/10 5:23 PM, Tommaso Teofili wrote:
Hi Jorn,
I will do it and let you know how it goes :)
Cheers,
Tommaso
2010/10/5 Jörn Kottmann<[email protected]>
Hello all,
would be nice if someone could try out this new Cas Editor
feature, I guess its very handy tool during the development of AEs.
Jörn
On 10/5/10 9:50 AM, Jörn Kottmann (JIRA) wrote:
[
https://issues.apache.org/jira/browse/UIMA-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
Jörn Kottmann closed UIMA-1887.
-------------------------------
Resolution: Fixed
And now its also tested and can be closed.
It should be possible to open a CAS file from a non Cas Editor project
----------------------------------------------------------------------
Key: UIMA-1887
URL: https://issues.apache.org/jira/browse/UIMA-1887
Project: UIMA
Issue Type: New Feature
Components: CasEditor
Reporter: Jörn Kottmann
Assignee: Jörn Kottmann
Fix For: 2.3.1SDK
It should be possible to open a CAS files which are inside an eclipse
java project (and not an eclipse CAS Editor project) with the CAS Editor.
After spending more time on the issue the plan how to implement it
changed again.
The previous idea of having an additional plugin for this functionality
is dropped and the change is directly
integrated into the Cas Editor plugin.
There are two changes which must be performed for this issue:
1. The Document Provider is extended with a custom logic to open a CAS
file from a non Cas Editor Project.
Its assumed that the type system is placed in a certain location, if it
cannot find in this location the
user if prompted by a dialog to provide a valid type system for the CAS.
This mechanism should be improved in the future to play nicely together
with all other plugins wich also need
access to a type system, like the description editors.
2.
The UI to configure the annotation styles must be moved to the editor and
away from the Cas Editor Project
handling code. To accomplish this the Document Provider should be
responsible for accessing/modifying
the styling information. A new view is added to the editor which can
display the styling information and
gives access to the annotation property dialog to modify the styling.
The styling information is shared between all editors type system wide,
if the style is changed in one editor
its changed in all other editors which display a CAS with the same type
system.
The goal of this issue is to create an initial solution which can then be
refined
by input from users and other uima developers.