[XPand/Xtend] Model Transform Example [message #988428] |
Thu, 29 November 2012 21:09 |
Dale Pennington Messages: 6 Registered: November 2012 |
Junior Member |
|
|
I are looking at using the Xpand/Xtend tool set for code generation from an EMF Model of our Data Types into IDL and C++/Java. In the IDL and C++ areas I need to make sure type definitions are emitted in the correct order, so if the EMF Model has defined :
Type A
Ref Type B
Type B
We need to actually generate the Type B definition before the Type A definition. To do this I am thinking that a model transformation would be appropriate. My question is, is there an existing public example of using Xtend for a model to model transform.
The references I can get to say this is a good use for Xtend, but seeing the basics of such a project would be a good starting point. The "samples" on the Eclipse Wiki do not seem to have actual source (or else I am not good enough to figure out how to get to them).
Thanks,
Dale Pennington
|
|
|
Powered by
FUDForum. Page generated in 0.03229 seconds