| DND outside the editor [message #82866] |
Mon, 09 June 2003 21:27  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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?
>
|
|
|
Powered by
FUDForum. Page generated in 0.03454 seconds