|Re: embedded xtext DSL - exporting names [message #1239706 is a reply to message #1235902]
||Tue, 04 February 2014 21:05
| Vlad Gheorghe
Registered: May 2011
Just to report some progress on the xtext-embedded-in-xmi.|
We have found some sort of work-around for this problem.
Instead of having the "embedded" part serialized as text in EString attributes of the "host" resource (serialized as xml/xmi), one can serialize those as proper workspace resources, and have a cross-document containment reference from the model serialized as xmi to the model serialized as xtext.
The big advantage is that it works almost out-of-the-box with the generated EMF model editor (for the full model) and XText editors (for the text part).
One has just to implement the global scoping for the text sub-resources, which has to
navigate by some URI convention to the 'host' resource. (e.g. to figure out which are the imported 'modules' ).
Does anyone have other ideas ?
Did I get it right that the xtext-forms-integration does not show linking from embedded resources to other embedded resources ?
(Or is that even a non-sense in the context of that example ?)
[Updated on: Tue, 04 February 2014 21:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01664 seconds