Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Generators interface ?
icon3.gif  [Acceleo] Generators interface ? [message #515319] Thu, 18 February 2010 08:36 Go to next message
Eclipse UserFriend
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 08:36] by Moderator

Re: [Acceleo] Generators interface ? [message #515343 is a reply to message #515319] Thu, 18 February 2010 09:23 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 19:25:55 EDT 2025

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

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

Back to the top