How to DND from one editor to another [message #211053] |
Wed, 08 March 2006 02:57 |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
All,
I have a requirement to DND objects from an editor in one eclipse.exe to
another. Both of the editors are GEF editors. Any help would be greatly
appreciated.
Thank you,
Harsh
|
|
|
Re: How to DND from one editor to another [message #211082 is a reply to message #211053] |
Wed, 08 March 2006 03:10 |
Eclipse User |
|
|
|
Originally posted by: java.freshman.cx.gmail.com
Hi,
I think your requirement equals to drag from a GEF editor and drop to
another.
What you need to do is add DragSourceListener to your drag source editor
and add DropTargetListener including CreationFactory in it to target
editor.
|
|
|
Re: How to DND from one editor to another [message #211171 is a reply to message #211082] |
Wed, 08 March 2006 19:57 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
Shawn Chen <java.freshman.cx@gmail.com> wrote:
> Hi,
>
> I think your requirement equals to drag from a GEF editor and drop to
> another.
> What you need to do is add DragSourceListener to your drag source
> editor and add DropTargetListener including CreationFactory in it to
> target editor.
But how is he going to switch from GEF drag to native drag?
--
Sunil
|
|
|
Re: How to DND from one editor to another [message #211252 is a reply to message #211171] |
Thu, 09 March 2006 04:08 |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
The other issue is when the drag starts in one editor, since it's also the
drop target listener, it gets invoked. Somehow, I have to ignore this
because regular moving of the objects within the editor get disabled.
Has anybody else implemented this? If I am not clear, please let me know.
Regards,
Harsh
|
|
|
|
Powered by
FUDForum. Page generated in 0.03380 seconds