Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363099

Summary: [ClassDiagram] issues with changing association class ends
Product: [Modeling] Papyrus Reporter: Raphael Faudou <raphael.faudou>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: 69a2fa5b, papyrus-bugs
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
UI for Association Class
none
UI for Association none

Description Raphael Faudou CLA 2011-11-07 16:19:57 EST
On behalf of Peter Keller:
 There is no obvious way to change ownership of the association ends between association and classifier, as can be done with ordinary associations.
Comment 1 Peter Keller CLA 2011-11-14 08:19:28 EST
I found my way here eventually :-) thanks for opening this bug.

To add a few more details:

(1) When editing an association class, IMHO most people would expect the "Delete owned end" button to remove the owned end from the association class's list of owned ends. In fact, it deletes the entire assocation class, and there doesn't seem to be a way of undoing this action. See indicated button in the attachment papyrus_ac1.png.

(2) The owned end is annotated as navigable on the diagram, but is not shown in the "Navigable owned end" box. Clicking on the "+" button above the "Navigable owned end" box to try to add it, opens a browser that is rooted at the model itself, and an owned association end from elsewhere in the model can be added.

(3) According to the UML metamodel, Association Class is a generalisation of both Association and Class. However, the UI for the metaproperties of Association Class that are inherited from Association is completely different to the UI for Association itself (compare with papyrus_ac2.png). This is highly confusing.
Comment 2 Peter Keller CLA 2011-11-14 08:21:29 EST
Created attachment 206936 [details]
UI for Association Class
Comment 3 Peter Keller CLA 2011-11-14 08:22:01 EST
Created attachment 206937 [details]
UI for Association