Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Re: DND from TreeViewer to GMF generated editor
Re: DND from TreeViewer to GMF generated editor [message #207129] Fri, 26 September 2008 04:51
Eclipse UserFriend
Originally posted by:


I am also facing the same problem.
Could you please help?

Manoj wrote:
> 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... :)
Previous Topic:remove code that restricts contained nodes from been drawn
Next Topic:self-containing compartment?
Goto Forum:

Current Time: Mon May 17 04:42:51 GMT 2021

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

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

Back to the top