Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Generators interface ?
icon3.gif  [Acceleo] Generators interface ? [message #515319] Thu, 18 February 2010 13:36 Go to next message
Sebastien Roy is currently offline Sebastien RoyFriend
Messages: 51
Registered: November 2009
Member
Hello,
When a new Module File is created, Acceleo wizards may also generate a Java file, which is used to launch the module.

Would it be possible, in a future version of Acceleo, to make this class implement an interface ?
Such an interface would define at least doGenerate() method.
This would help manipulating generators in a generic way.

Regards

Sebastien

[Updated on: Thu, 18 February 2010 13:36]

Report message to a moderator

Re: [Acceleo] Generators interface ? [message #515343 is a reply to message #515319] Thu, 18 February 2010 14:23 Go to previous message
Sebastien Roy is currently offline Sebastien RoyFriend
Messages: 51
Registered: November 2009
Member
In the same idea,

would it be possible to implement in the generator (and in its future interface) a facade to
AcceleoService.addProperties(Map<String, String> customProperties)
in order to dynamically add properties to the acceleo service ?
Currently, the properties are only managed statically.

Of course that can also be done in the current version by modifying the generated code, but it would be nice to have it ready to use when the module is created.

Regards

Sebastien
Previous Topic:MWE
Next Topic:[JET2] <c:iterate> tag bahavior
Goto Forum:
  


Current Time: Tue Apr 23 07:51:45 GMT 2024

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

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

Back to the top