Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Dragging between two diagrams
Dragging between two diagrams [message #975162] Wed, 07 November 2012 11:52 Go to previous message
Jonathan Jekeli is currently offline 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!
 
Read Message
Read Message
Previous Topic:Getting exceptions on upgrading Graphiti from 0.8.2 version to Graphiti 0.9.1
Next Topic:Graphiti and Dependency Injection
Goto Forum:
  


Current Time: Sat May 25 12:02:59 EDT 2013

Powered by FUDForum. Page generated in 0.09398 seconds