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

Bug 533872

Summary: Implement DragDropGesture to support JavaFX drag and drop events
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kyle, miklossy, patrick.muscat
Version: 5.0.1   
Target Milestone: 5.1.0 (2019-06)   
Hardware: All   
OS: All   
See Also: https://github.com/eclipse/gef/pull/43
https://github.com/eclipse/gef/pull/44
https://github.com/eclipse/gef/pull/45
Whiteboard: low-hanging fruit

Description Matthias Wienand CLA 2018-04-20 08:14:20 EDT
Currently, drag and drop is not covered by the gestures provided by GEF.

In order to be able to handle JavaFX drag and drop events within a GEF application (using gesture and handlers), we need to implement a DragDropGesture as well as an IOnDragDropHandler interface (or similar, depending on design).
Comment 1 Kyle Girard CLA 2018-04-24 14:22:01 EDT
I've implemented a DragDropGesture and IOnDragDropHandler for my project.  I'll check with the powers that be if I can work it into patch or pull request for someone to review and merge.  I haven't contributed to gef before so I'll have to research the steps...
Comment 2 Tamas Miklossy CLA 2018-04-25 13:29:50 EDT
Hi Kyle,

a contribution would be awesome. The necessary steps are listed under https://github.com/eclipse/gef/blob/master/CONTRIBUTING.md
Comment 3 Patrick Muscat CLA 2018-05-18 03:28:43 EDT
Hi there,

Are the sources of DragDropGesture and IOnDragDropHandler available somewhere even if not contributed following the full rules ?
Comment 4 Eclipse Genie CLA 2018-12-12 12:03:40 EST
GitHub Pull Request 43 created by [kgirard]
https://github.com/eclipse/gef/pull/43
Comment 5 Eclipse Genie CLA 2018-12-12 12:19:22 EST
GitHub Pull Request 44 created by [kgirard]
https://github.com/eclipse/gef/pull/44
Comment 6 Eclipse Genie CLA 2018-12-12 12:25:51 EST
GitHub Pull Request 45 created by [kgirard]
https://github.com/eclipse/gef/pull/45
Comment 7 Matthias Wienand CLA 2019-02-12 10:44:36 EST
I just merged the PR. Thank you very much for your contribution :-)