DND from view to editor [message #532407] |
Sun, 09 May 2010 13:47  |
Eclipse User |
|
|
|
Hi,
I am currently working on a GMF editor that supports DND from a view to my editor.
For this I first created a Transfer Object that transfers data from my view.
After this I added a DropTargetListener to my GraphicalViewer on my DiagramEditor to recieve this drop events.
This seems to be working for my transfer and the method "getObjectsBeingDropped" is called.
Now I am stuck. What is that method supposed to return? is it an EObject that can be dropped? Can I access my transfered data within that listener?
Do I need an editPolicy to complete this task or is that listener enough?
Help is greatly appreciated!
Kind regards,
Artur
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.11524 seconds