Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DND between two GEF viewers
DND between two GEF viewers [message #220104] Tue, 25 July 2006 15:21
Eclipse UserFriend
Originally posted by: mateu.yabar.justinmind.com

Hi,

My problem is the following. I have two gef viewers, and I want to use Dnd
between them. I want to use GEF DND (not swt) in orther to simplify the code
(and work).
When I tried this, my first problem was that (by default), the viewer from
the drag and the drop should be the same. I've overwritten and solved this
problem. Now the problem is that the mouse cordinates are given from the
Origin of the dragged viewer, and the figure is not found in the target
viewer. So, I need to convert the cordinates of the point. I think that I
have to reimplement the "protected Point getLocation()" from the
DragEditPartsTracker, but I don't know how (i've tried some thinks but
didn't work).

Any help?
Previous Topic:Prevent a figure from being modified
Next Topic:ManhattanConnectionRouter - connection overlapping
Goto Forum:
  


Current Time: Fri Apr 19 20:16:43 GMT 2024

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

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

Back to the top