Skip to main content



      Home
Home » Modeling » Graphiti » How can i implement Drag and Drop feature with in the diagram
How can i implement Drag and Drop feature with in the diagram [message #964029] Tue, 30 October 2012 03:49 Go to next message
Eclipse UserFriend
Hello All,

I want to implement Drag and drop feature within the diagram.
Basically i want to drag and drop one shape into another Shape.

I have looked into getDragAndDropFeatures() in FeatureProvider class.But it looks like this is supported only for connections.

Advance thanks for your reply.

Thanks,
Raghav
Re: How can i implement Drag and Drop feature with in the diagram [message #964298 is a reply to message #964029] Tue, 30 October 2012 08:09 Go to previous message
Eclipse UserFriend
Raghav,

Graphiti handles this as a move, so you need to implement a move feature.
When the target passed into the move feature is the target shape you will
most probably want to adapt the parent of the moved element.

Michael
Previous Topic:Testing Graphiti editor
Next Topic:Problem with Platform Graphics Algorithm Text Flow
Goto Forum:
  


Current Time: Wed Jul 23 10:44:21 EDT 2025

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

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

Back to the top