Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to complete "drag and drop"(drag from javafx treeview and drop into the rootpart(GEF5))
how to complete "drag and drop" [message #1822107] Thu, 27 February 2020 12:33 Go to next message
lian hongwu is currently offline lian hongwuFriend
Messages: 5
Registered: November 2017
Junior Member
a svg editor! how to drag a model from a javafx treeview to GEF canvas ! by IOnDragHandler?
Re: how to complete "drag and drop" [message #1822402 is a reply to message #1822107] Thu, 05 March 2020 16:46 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 230
Registered: March 2015
Senior Member
Hi lian,

for actual drag'n'drop, you need an IOnDragDropHandler.

The IOnDragHandler is used for simple mouse events, reacting to a mouse with pressed button being dragged over the scene. It does not know about any "context" other than the visual/part that is dragged (i.e. pressed).

The IOnDragDropHandler is used for full drag'n'drop, i.e. external files being dropped onto the application, etc.

Best regards,
Matthias
Previous Topic:how to complete "group/ungroup"
Next Topic:[GEF5 MVC] Change focus/selection by TAB
Goto Forum:
  


Current Time: Mon Jan 30 19:07:25 GMT 2023

Powered by FUDForum. Page generated in 0.03117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top