| [news.eclipse.modeling.gmf] Re: Drag and Drop within the diagram editor |
Thanks for any help, Lavanya.
Lavanya K C wrote:
Hi
I want to drag a diagram node(move)and and drop the same on a connection on my GMF diagram editor. This should rearrange my nodes and connection.I am using a fixed custom layout.
I added a DragDropEditPolicy on the node and overrided getDropCommand to customize the drop behaviour. But this does not work.
Do I have to do something in XXXBaseItemSemanticEditPolicy#getMoveCommand as this returns 'null' presently.
Thanks for any help
Lavanya.