|
|
|
|
|
|
|
Re: Additional Classes [message #819750 is a reply to message #819740] |
Tue, 13 March 2012 09:31 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Thomas,
Comments below.
On 13/03/2012 10:17 AM, Thomas B wrote:
> Hi Ed,
> what I want, is that my JET-Template create for every EClass in my
> ecore-model a Java-Class.
Like in the example...
> So if I click on the genmodel to "Generate Model Code" it should
> generate the standard code and additional the Java-Classes from the
> JET-Template.
> Is this possible and if so how?
Yes, the example does this.
>
> Thank you for your patience
Do you see the things in the example I asked about. I.e., the
Validator.javajet, which is a per-GenClass template. Setting a
breakpoint in GenClassValidatorGeneratorAdapter.generateModel should
give you the idea of what to do.
>
> Ed Merks wrote on Tue, 13 March 2012 04:11
>> Thomas,
>>
>> The example has templates/model/ModelDescription.txt and
>> templates/model/Validator.javajet, right? I expect to see one
>> description.txt and a validator per EClass when you use the extension
>> in the runtime workbench.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03149 seconds