[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Drag and Drop within the diagram editor

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.