Loading type definition from an external file [message #676963] |
Tue, 07 June 2011 06:21 |
Sasi Varnan Sundarakandasamy Messages: 9 Registered: June 2011 |
Junior Member |
|
|
Hi,
I am trying to create an editor for expressions. In my expression I want to use something like JavaVMTypes.
The types to be used in the editor comes from an external file. The file doesn't have an EMF model defined.
Lets say I have an xxx.expr file then the type definition will come from a xxx.type file. If there is no .type file available then only primitive types(int and String) can be used. I want the type definition to be loaded from the xxx.type file for each xxx.expr.
I read Scope provider and IContainer.Manager in the XText documentation.
I am bit confused with the document on how to use these APIs.
Can someone help me which API to use and how to restrict the type loading only from one external file.
Thanks & Regards
Sasi Varnan
|
|
|
Powered by
FUDForum. Page generated in 0.03028 seconds