|Cross referencing from EMF to Xtext [message #1037360]
||Tue, 09 April 2013 13:08
| Marco Asco
Registered: April 2013
Greetings to all.|
I would like to reference EObject elements which are generated with Xtext from EMF.
I have created an EMF model using ecore (model1), and a grammar model using Xtext (model2). I would like to refer from model1(EMF) elements in model2(Xtext).
Now, I have two different genmodels.
I read in the Xtext guide ver 2.1, section 9.10. Fragment Provider (Referencing Xtext Models From Other EMF Artifacts), how to use URIs.
If I load the model2 ecore in model1 ecore, for cross referencing, and regenerate, the Xtext EObjects are regenerated.
Anyone knows what can I do to cross reference from EMF to Xtext?
Thanks for helping.
Powered by FUDForum
. Page generated in 0.12978 seconds