Skip to main content



      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 00:51
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi!

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

Regards,
Manoj

amsurana@in.ibm.com 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: Sun Jul 13 15:26:33 EDT 2025

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

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

Back to the top