Skip to main content



      Home
Home » Eclipse Projects » JFace » DnD Question(How can I access the dragged data from validateDrop())
icon5.gif  DnD Question [message #900341] Mon, 06 August 2012 10:45 Go to next message
Eclipse UserFriend
Folks'es,

I'm trying to implement DnD for a treeviewer.
I have rather complex drop rules which highly depend on the tree paths of the dragged tree nodes.
What is the best/correct/proper way of getting the dragged data in the DropListener to provide the correct return values in validateDrop()?

Thanx,

Thomas

[Updated on: Mon, 06 August 2012 10:45] by Moderator

Re: DnD Question [message #900554 is a reply to message #900341] Tue, 07 August 2012 09:54 Go to previous message
Eclipse UserFriend
just for the record: using LocalSelectionTransfer is the way to go...

[Updated on: Tue, 07 August 2012 09:54] by Moderator

Previous Topic:DnD Question
Next Topic:Add a double click listener on a TableViewerColumn
Goto Forum:
  


Current Time: Wed Jul 23 10:16:51 EDT 2025

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

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

Back to the top