Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:45 Go to next message
Thomas Klöber is currently offline Thomas Klöber
Messages: 10
Registered: June 2012
Junior Member
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 14:45]

Report message to a moderator

Re: DnD Question [message #900554 is a reply to message #900341] Tue, 07 August 2012 13:54 Go to previous message
Thomas Klöber is currently offline Thomas Klöber
Messages: 10
Registered: June 2012
Junior Member
just for the record: using LocalSelectionTransfer is the way to go...

[Updated on: Tue, 07 August 2012 13:54]

Report message to a moderator

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


Current Time: Tue Sep 16 15:33:08 GMT 2014

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

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