Well, it is possible check the conditions inside the template. If your
template generates an empty output, the file isn't created. I attached an
example.
Walter
Chad Brandon <[EMAIL PROTECTED]> grava:
>Unfortunately this isn't currently possible,
>stereotypes are the only things that drive code
>
You're welcome. Yes I think it could be done, I'll
have to think about the best way to do it (and still
keep it metamodel independant). I think it would be
great to have this ability and I like you're example
below. Thanks Francois,
Chad
--- François_Eric <[EMAIL PROTECTED]> wrote:
> Thanks
Thanks for your quick answer Chad,
For now we'll use the stereotype approach but it would indeed be a good
idea to be able to specify modelelements in the form of:
Does this make sense? Could it be done?
Thanks,
François
Chad Brandon wrote:
Unfortunately this isn't currently possible,
stereotypes are the only things that drive code
generation. It would be great to provide other means
of providing code generation (like on the type of
model element, etc), like what you're asking for
below. If anyone has any good ideas on a good/generi
Hello all,
I want to generate a file for every composition in my model (a
particular type of association). Is it possible to do so with the
andromda generators by specifying a certain modelelement property I am
not aware of?
Otherwise my workaround is to tag the associations which are
compos