Skip to main content



      Home
Home » Eclipse Projects » GEF » DND outside the editor
DND outside the editor [message #82866] Mon, 09 June 2003 21:27 Go to next message
Eclipse UserFriend
I would like to enable Drag and Drop in my GEF editor.
I have successfully implemented the drop, but when I enable
the drop the drag and drop interferes with my ability
to move objects around the space.
How can I specify that I want drag and drop only when I
drag outside the GEF window?
Re: DND outside the editor [message #82896 is a reply to message #82866] Mon, 09 June 2003 22:14 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You would have to use with mouse location, such as requiring the user to
click on a specific drag handle, or keyboard modifier state, such as
initiating a drag with the CONTRL key pressed. Both of these are non
standard, and are workaround required by the limitation of SWT. In SWT, you
cannot start a native drag operation at any time, nor can you control the
cursor's appearance if you were to go the all-native-drag route.


"Alex Cozzi" <cozzi@almaden.ibm.com> wrote in message
news:bc3c6d$b4i$2@rogue.oti.com...
> I would like to enable Drag and Drop in my GEF editor.
> I have successfully implemented the drop, but when I enable
> the drop the drag and drop interferes with my ability
> to move objects around the space.
> How can I specify that I want drag and drop only when I
> drag outside the GEF window?
>
Previous Topic:connection properties
Next Topic:MultipageEditorContributor
Goto Forum:
  


Current Time: Fri Nov 07 16:52:57 EST 2025

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

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

Back to the top