we must make sure all the model elements have been created prior to start validation, this is due to the fact that sometimes succesful validation depends on other model elements that the one currently created

I am not sure this will tackle that issue ... or maybe it does ?
anyway, it is very important to validate a decorator object /after/ the complete model has been loaded


Wouter.

Chad Brandon wrote:

Hey Wouter,

You could probably add it in the
DecoratorFactor.createDecoratorObject, like below:

   result = (DecoratorBase) constructor.newInstance(
                       constructorParams);
   add --> result.validate();


--- Wouter Zoons <[EMAIL PROTECTED]>
wrote:


hello guys,

what do I need to do to get the validation process
running ? I have added validate() to the base decorator class, but
where should I add what in order to call validate() for each element ?


thanks






-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to