Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] MTL Metamodel
[Acceleo] MTL Metamodel [message #1162285] Wed, 30 October 2013 09:18 Go to next message
Thomas Buchmann is currently offline Thomas BuchmannFriend
Messages: 53
Registered: November 2010
Member
Hi,

i just realized that the plugin "org.eclipse.acceleo.model" contains a metamodel for the MTL language. I'm wondering if it is possible to access it during runtime of the Acceleo template editor?

Regards,
Thomas
Re: [Acceleo] MTL Metamodel [message #1194423 is a reply to message #1162285] Mon, 18 November 2013 13:59 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

This meta-model is used by the emtl files. If you want to have the content of your file in the editor as an EMF model, use the emtl file in the bin folder of your project. You can also look at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser if you want to manually parse Acceleo source code.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks
Re: [Acceleo] MTL Metamodel [message #1202858 is a reply to message #1194423] Fri, 22 November 2013 10:56 Go to previous message
Thomas Buchmann is currently offline Thomas BuchmannFriend
Messages: 53
Registered: November 2010
Member
Hi Stephane,

thanks a lot for this hint!! I'll give it a try.

Regards,
Thomas
Previous Topic:[Solved - Thanks] Java Code generation with Acceleo from KDM model
Next Topic:[Acceleo] tycho transformation test fails
Goto Forum:
  


Current Time: Sat Apr 20 03:21:08 GMT 2024

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

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

Back to the top