|Re: DND from TreeViewer to GMF generated editor [message #207129]
||Fri, 26 September 2008 04:51
Originally posted by: manojm.blr.interrasystems.com|
I am also facing the same problem.
Could you please help?
> From your explanation i understand that :
> --- I should create my own Sub-class, say, DropTargetListener of
> AbstractTransferDropTargetListener and attach this listener to Editor's
> viewer using following lines
> GraphicalViewer viewer = getGraphicalViewer();
> viewer.addDropTargetListener(*new* DropTargetListener(viewer,xfer));
> -- Next I shall create a DropEditPolicy sub-classing ContainerEditPolicy
> and install it to my Container that will react to the drop being performed.
> Am I right ???
> Later on I 'll probably figure out what should i do to create node...
> Thanks for the help... :)
Powered by FUDForum
. Page generated in 0.01599 seconds