|
Re: DND from view to editor [message #534293 is a reply to message #532407] |
Tue, 18 May 2010 15:17 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ralf![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ralf.nagel%40tu-dortmund.de) Messages: 25 Registered: March 2010 |
Junior Member |
|
|
Well, this seems to be a frequently unsolved question. There are several questions about Drag and Drop between a TreeViewer and a GMF editor but no real tutorial is available. The best example I found so far is this:
http://defrag-sly.javaeye.com/blog/483362
My problem with this code template is the ResourceTransfer, as I want to transfer an EMF object. If I change the ResourceTransfer to a LocalSelectionTransfer the DropObjectEditPolicy is no longer invoked. It seems the LocalSelectionTransfer is already used internally by GMF and can't be used in our situation.
[Updated on: Tue, 18 May 2010 15:17] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08340 seconds