|
Re: Calling acceleo from a java method (IField) instead of a java class (IFile) [message #707114 is a reply to message #705359] |
Mon, 01 August 2011 08:57 |
|
Hi Kenji,
The generated UI project is there to help people get a generic example of how to integrate an Acceleo generation with Eclipse. For this, proposing generation on IFiles is the most usual use case, while generating on IFields seem counter-intuitive : with an "IFile", we can load an "EMF model", which in turn will serve as the input of the generation. However, with "IField"... I don't see the link to a model except if you use a Java metamodel and a "bridge" from a Java Compilation Unit to that metamodel.
This is something that is possible to know, it will just require some customization work on your part to make the generated UI module work on a Java file. I believe someone had made the necessary steps to launch an Acceleo generation on a Java file using MoDisco... maybe related to this?
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.02936 seconds