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] Wed, 01 March 2006 19:10 Go to previous message
J Aaron Farr is currently offline J Aaron Farr
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:[GEF4] Subgraphs in Graphviz DOT
Next Topic:I want to change fontsize in textflow or label
Goto Forum:
  


Current Time: Thu Apr 17 03:56:56 EDT 2014

Powered by FUDForum. Page generated in 0.08635 seconds