Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Generating code from a Graphiti application
[Acceleo] Generating code from a Graphiti application [message #1387146] Tue, 24 June 2014 08:03 Go to next message
Eclipse UserFriend
Hi all,
I am quite new with Acceleo, so sorry for the (maybe) silly question.
I've created a Graphiti plugin based on an EMF model. Graphiti creates instances of elements specified in the EMF model, and adds them to the specified instance of the EMF model root class.
What I want to know is if, and how, I can generate code starting from that instance of the root class.

Hope that my question is clear.

Thanks for your attention
Simone
Re: [Acceleo] Generating code from a Graphiti application [message #1388493 is a reply to message #1387146] Thu, 26 June 2014 10:15 Go to previous message
Eclipse UserFriend
Hi

Acceleo is a model to template language; it is not a code generator.

You may create or re-use an Acceleo template to perform code generation.

Just the same as you may create of re-use a Java or Ada program to do
exactly the same thing.

Regards

Ed Willink

On 24/06/2014 13:03, Simone Di Cola wrote:
> Hi all,
> I am quite new with Acceleo, so sorry for the (maybe) silly question.
> I've created a Graphiti plugin based on an EMF model. Graphiti creates
> instances of elements specified in the EMF model, and adds them to the
> specified instance of the EMF model root class. What I want to know is
> if, and how, I can generate code starting from that instance of the
> root class.
> Hope that my question is clear.
>
> Thanks for your attention
> Simone
Previous Topic:Components of Acceleo
Next Topic:[Acceleo] Referencing different UML diagrams in a transformation
Goto Forum:
  


Current Time: Fri Jun 20 00:24:49 EDT 2025

Powered by FUDForum. Page generated in 0.07238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top