This is helpful for me, Thanks very much!
在2009-07-16,[email protected] 写道:
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
[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万种商品,最低价格,疯狂诱惑你_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users