Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363099 - [ClassDiagram] issues with changing association class ends
Summary: [ClassDiagram] issues with changing association class ends
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 16:19 EST by Raphael Faudou CLA
Modified: 2017-09-08 09:47 EDT (History)
2 users (show)

See Also:


Attachments
UI for Association Class (88.63 KB, image/png)
2011-11-14 08:21 EST, Peter Keller CLA
no flags Details
UI for Association (80.06 KB, image/png)
2011-11-14 08:22 EST, Peter Keller CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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