Drag and drop + DragTracker [message #223386] |
Tue, 26 September 2006 05:43  |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
I'd like to support drag and drop between different GEF editors and also
from GEF editors to other viewers such as tree and property editors. I
would expect the CTRL key modifier to distinguish between a drag on the
same diagram and a drag from one diagram to another.
How do I go about implementing this? I can't add a
TransferDragSourceListener to the node's viewer since this invalidates the
DragEditPartsTracker used for regular moving of nodes. Can I extend
DragEditPartsTracker so that when a drop is performed in conjunction with
a CTRL modifier, data is copied to the clipboard?
Thanks,
James
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03452 seconds