This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 247244 - Allow associations (and AssocClasses) to be dragged on a diagram
Summary: Allow associations (and AssocClasses) to be dragged on a diagram
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Diagrams (show other bugs)
Version: 0.3S4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 0.4M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 00:10 EDT by Chris Hartley CLA
Modified: 2010-11-19 12:24 EST (History)
2 users (show)

See Also:


Attachments
247244 patch (5.51 KB, patch)
2010-11-10 01:03 EST, Anton Salnik CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hartley CLA 2008-09-15 00:10:10 EDT
Having this will help reduce wasted time.

It should work as follows :

* if the classes at both ends are already on the diagram - just draw the association

* if the class at one end is not on the diagram - then add the class where the mouse is on drop and all associations (just do as do now for class drag and drop)
So in effect convert the association drop to a class drop

* if neither end is on the diagram, then add both classes and all the associations
So in effect convert the association drop to two class drops (can do in sequence)
Comment 1 Anton Salnik CLA 2010-11-10 01:03:08 EST
Created attachment 182786 [details]
247244 patch

Implementation added.
Comment 2 Yuri Strot CLA 2010-11-11 04:30:52 EST
I applied Anton's patch.
Comment 3 Navid Mehregani CLA 2010-11-19 12:24:17 EST
Thanks Anton! good job.  Verified.