[Issue 6421] Support interfaces and generics when generating multiplicity code

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6421






------- Additional comments from [email protected] Wed Apr 11 14:55:56 -0700 2012 -------
From the UML 1.4.2 specification for AssociationEnd (page 30)

Visibility - Specifies the visibility of the association end from the viewpoint 
of the classifier on the other end.

This is not so intuitive to me but its a standard we can't break. The property 
panels should relate directly to UML properties and the UML standard.

I agree with making this more usable though. I had the same issue with 
navigability and aggregation. That is the reason I introduced the right click 
options on an association.

Try right clicking on the Department->Employee association on the diagram and 
you'll see submenus for navigability and for aggregation. These give the user 
options to set these association end properties in for more human terms.

I'm wondering how we can do similar for visibility on a unidirectional 
association.

Employee has public visibility for Department
Employee has protected visibility for Department
Employee has private visibility for Department
Employee has package visibility for Department

If the association is bidirectional then show the following

Department has public visibility for Employee
Department has protected visibility for Employee
Department has private visibility for Employee
Department has package visibility for Employee
Employee has public visibility for Department
Employee has protected visibility for Department
Employee has private visibility for Department
Employee has package visibility for Department

I'm not sure how this might work for n-ary associations. Probably we could not 
give the option in this case.

These extra options available from right click could also be added to the 
association property panel. This would require more work and thought as these 
panels are generated dynamically rather than hard coded as the diagram context 
menus are.

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2947460

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.