Dragging between two diagrams [message #975162] |
Wed, 07 November 2012 16:52 |
Jonathan Jekeli Messages: 10 Registered: October 2012 |
Junior Member |
|
|
I have implemented graphiti in an RCP application, creating a composite to house a diagram. However, there are two different diagrams that I have in the same view, and I would like to drag and drop between them. However, when you drag an object out past the edge of the view containing the graphiti graphical viewer, it just interprets that as trying to drag the shape to somewhere off the screen in that direction, rather than dragging it to another view. The solution seemed to be created a drag source listener on the graphical viewer, but that disables the normal drag operations of dragging around the graph. Is there any way to extend the current drag listener so that when dragging off the bounds of the graph, it interprets it as dragging to another view? In other words, where is the drag listener added to the graphical viewer, and how can I get to it and extend it?
Thanks!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02892 seconds