Skip to main content



      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 07:33 Go to next message
Eclipse UserFriend
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 11:46 Go to previous message
Eclipse UserFriend
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: Thu Apr 17 11:57:01 EDT 2025

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

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

Back to the top