Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF as native Drag Source
GEF as native Drag Source [message #210598] Thu, 02 March 2006 00:10 Go to previous message
J Aaron Farr is currently offline J Aaron FarrFriend
Messages: 18
Registered: July 2009
Junior Member
Hello.

I'm attempting to add drag and drop between an existing GEF editor and
an Eclipse view. Adding a TransferDropTargetListener to the
GraphicalViewer disabled, or overrode, the internal editor drag and
drop. Moving or resizing figures within the GEF editor space results in
calls to the new listener, whereas I only wanted to listener to handle
dragging figures _out_ of the GEF editor and onto a view.

Is this the expected behavior? Do I have to re-implement the internal
movement/dnd? Do I have to use some special Transfer object to
distinguish between the two types of drags? Or could there be some
other code in my editor which is causing this?

I'm just looking for suggestions on where to start. The examples I've
seen all involve GEF as the drop target, not drag source, so any help
would be greatly appreciated!

Thanks!

jaaron
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:I want to change fontsize in textflow or label
Next Topic:ZEST: Register GraphViewer as a model listener
Goto Forum:
  


Current Time: Wed Apr 24 20:42:17 GMT 2024

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

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

Back to the top