Hi,
 
 
Uml2Java enables you to modify the generated code through the property window 
of your *.uml file.
 
All you have to do is to open this property window (right-click on your *.uml 
file, click on "Properties" in the popup menu), choose "Uml2Java" in the left 
menu and check/uncheck some options. To remove the comments from the generated 
code, just uncheck "Generate Javadoc". To remove the setters and getters, 
uncheck "Generate Accessors". It's easy as a click ~
 
These options are only affecting the code generated from the *.uml from which 
you opened the property window, not the other *.uml files of your workspace. 
You cannot set these options for an entire project or an entire workspace yet.
 
 
Regards,
Martin Neidert

________________________________

De : [email protected] 
[mailto:[email protected]] De la part de 
[email protected]
Envoyé : mercredi 15 juillet 2009 03:25
À : topcased-users
Objet : [Topcased-users] How to disable auto-comment while code generation?


Topcased generated code cotains a lot of comments, but I do not need those 
comments. How to disable auto-comment?

Topcased generate comments like this:
    //Start of user code for the default constructor
    /**
     * Default constructor
     */

    //End of user code

Thanks a lot!



________________________________

200万种商品,最低价格,疯狂诱惑你 
<http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com>  
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to