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

Bug 327502

Summary: Provide a convenient method to convert Association Class to Entity + associations and vice versa
Product: [Technology] Tigerstripe Reporter: Chris Hartley <chrhartl>
Component: DiagramsAssignee: Project Inbox <tigerstripe.diagram-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: nmehrega, valentin
Version: 0.5M1   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Chris Hartley CLA 2010-10-12 01:18:45 EDT
This is the last of the three refactorings:

We already have defined:
 Bug 221443 -  Refactor Association <-> Association Class
 Bug 325174 -  Refactor DataType <-> Entity  

In this refactoring, we convert an association class to an Entity plus two associations.

In the reverse direction, an Entity and two associations can be selected and these are converted into an association class.

Let me know before you start work on this and I'll provide examples of what is required.
Comment 1 Chris Hartley CLA 2010-10-14 00:17:15 EDT
Activation should be via right click in diagram or explorer.
Comment 2 Valentin Yerastov CLA 2012-02-12 09:40:25 EST
Done. For converting to association class, you have to select entity + association in explorer or diagram.
Comment 3 Valentin Yerastov CLA 2012-02-12 09:40:57 EST
marking as resolved
Comment 4 Navid Mehregani CLA 2012-02-14 13:40:32 EST
When I select two two associations and an entity, the option is disabled in diagram and the option is not even displayed in the Explorer.  Also converting an association class to an entity doesn't result in One entity + 2 associations.
Comment 5 Valentin Yerastov CLA 2012-02-15 06:47:00 EST
Fixed.
Comment 6 Navid Mehregani CLA 2012-02-27 11:20:33 EST
Looks good. Thanks!