sebastien wrote: For the moment, documentation for classes and methods is generated thanks to the ModelElementFacade.getDocumentation() method. Right ?
Well the problem with that method is that it can generate documentation, and even javadoc-compliant documentation for classes, methods and attributes, but in order to document parameters, I need to add a few information items like the parameter name and the parameter tag. Furthermore, in javadoc, parameter documentation is included inside method documentation, which the current implementation of getDocumentation() doesn't allow me to do. (end of quote) why don't you just loop through the arguments in the template ? don't try to do too much at once .. and do not put all of this logic in the operation, make use of the templating engine, by doing something like this (pseudo-code): /** $operation.getDocumentation(" * ") * #foreach ($parameter in $operation.parameters) #if ($parameter.return) * @return $parameter.type.fullyQualifiedName $parameter.documentation #else * @param $parameter.name $parameter.documentation #end #end */ I don't see what all the fuss is about -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2092#2092 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user