Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Example generator validator (JET example)
Example generator validator (JET example) [message #424329] Thu, 23 October 2008 10:25 Go to next message
Bernd Mühlböck is currently offline Bernd MühlböckFriend
Messages: 46
Registered: July 2009
Member
I think that the generation process applies the template to each EClass.
Is that right?

I would like to create a specific file only once in the model plugin.

Thanks,
Bernd
Re: Example generator validator (JET example) [message #424333 is a reply to message #424329] Thu, 23 October 2008 11:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Bernd,

It depends on the template and what it's applied to for input. Some
templates apply only once for the GenModel, some once for each
GenPackage, and others once for each GenClass. By adapting the
appropriate one, you can get the desired per-instance behavior.


Bernd Mühlböck wrote:
> I think that the generation process applies the template to each
> EClass. Is that right?
>
> I would like to create a specific file only once in the model plugin.
>
> Thanks,
> Bernd


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:UML and UnlimitedNatural
Next Topic:simple type wrapper classes pattern?
Goto Forum:
  


Current Time: Fri Apr 26 05:04:19 GMT 2024

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

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

Back to the top