[Uml-devel] [Bug 96897] Show just the main attributes and methods in UML class diagrams

Pietro Mele pietromele at yahoo.com
Tue Apr 26 07:59:08 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=96897         




------- Additional Comments From pietromele yahoo com  2005-04-26 10:23 -------
>> You can already decide only to show public but not private attributes 
>> and opertations 

Ok, but it often happens that what you want to show are the most relevant public AND private members, and hide the others. 

>> I know it would be tricky to have the show/hide flag apply differently to 
>> different diagrams, ...

I do not know how the program is engineered, but it should not be such a hard task. When something is shown in a diagram (e.g. a class), it should have an associated object that contains its position, size, etc. There should be such an object for every representation of that "thing" (e.g. the class) in the UML diagrams. 
Now, what I think should be done, is to add a bit for each member to this data structure. If it's 1, show the member, otherwise hide it...

This would allow to draw diagrams that are much more synthetic and to the point, i.e. they could focus on what the diagrams' author was thinking about.

Pietro




More information about the umbrello-devel mailing list