Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: pau carré on October 14, 2008, 12:02:07 am
-
Allow the user to add Java Annotations in class, attributes, relations and operations. It could be even better if the user could link class Annotations with class colors (@EBJ -> blue class).
This way it would be possible to develop JEE 5 apps.
-
Excellent idea!
[edit]But of course I did not check the manual first...
Please see the Sparxians' posts below.[/edit]
This might be done along the same lines as Sparx has used for compiler attributes in .Net languages.
Why not make the feature request to Sparx. Include a link to this thread in the request, so the Sparxians can participate in any ensuing discussion. You'll find the correct form for this by following the Feature Request link below the Support link near the bottom of any forum page.
David
-
Java annotations are currently supported as tagged values. (Same as .Net attributes)
You could also stereotype all over your java classes, with a stereotype that sets the colors depending on the tagged value before drawing the native shape.
-
Please see the relevant page in the EA User Guide for further information on this matter http://www.sparxsystems.com/uml_tool_guide/code_engineering/java_conventions.html