Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: AlexY on September 07, 2009, 05:15:52 am
-
As I was told that EA does not have an option to hide all compartments of a class except a class name and I have just submitted a feature request to Sparx to add such a feature.
If anyone else needs such an option, please comment in support.
Thanks,
Alex.
-
Original discussion: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1252084438
-
I support this. It would be useful in what I'm doing.
-
Also see:
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1246032170/3#3
-
If you have the option of applying a stereotype to a class, you can create a stereotype based on class and assign the shape script below to it. Setting a class to this stereotype will then draw it with no compartments and only the name.
Nothing beats a native ability that doesn't need the stereotype though.
shape main
{
h_align = "center";
v_align = "center";
rectangle (0,0,100,100);
println("#name#");
}
Stan.
-
Gets my vote...
Paolo
-
My vote also ...
-
Dear smendonc,
thank you for description of a possible solution.. but this solution is a workaround for a feature which should be a part of the tool as a standard option.
Alex.
-
Absolutely!
The workaround is poor at best, as it requires customization to provide a 'standard' UML notation.
Not only that, but many other features of the EA drawing paradigm become unavailable when shape scripts are used.
And it requires adding a stereotype to an element where the intent is only to change the notation. That is, the stereotype does not have semantic value. IMHO this is just asking for trouble somewhere down the line.
David