Skip to main content



      Home
Home » Eclipse Projects » GEF » GEF as native Drag Source
GEF as native Drag Source [message #210598] Wed, 01 March 2006 19:10 Go to previous message
Eclipse UserFriend
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: Fri Jun 20 03:24:42 EDT 2025

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

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

Back to the top