Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » drag&drop problem
drag&drop problem [message #190730] Fri, 05 August 2005 16:51 Go to next message
Sven Wende is currently offline Sven WendeFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

i want to implement some kind of desktop, using GEF. While implementing, i
got aware of a
problem, i cannot solve.

The desktop needs to handle both operations coexistently. That means drag-
as well as drop-operations.

I want to be able to drag some resources FROM a JFace treeviewer TO the
desktop and drag
resources FROM the same desktop back TO other SWT widgets. I also move
resources on
the desktop in the "normal" way.

When i register both dnd-handlers on the same viewer, i can no longer move
resources on the desktop
itself, because every mouse gesture leads to a drag&drop-operation.

Has anyone ever solved a problem like this? I would appreciate some hints or
workarrounds.
Would be a pity, if GEF does
Re: drag&drop problem [message #190880 is a reply to message #190730] Sat, 06 August 2005 20:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

It's an SWT limitation.

"Sven Wende" <s.wende@brain-time.de> wrote in message
news:dd05f0$ld5$1@news.eclipse.org...
> Hi,
>
> i want to implement some kind of desktop, using GEF. While implementing, i
> got aware of a
> problem, i cannot solve.
>
> The desktop needs to handle both operations coexistently. That means drag-
> as well as drop-operations.
>
> I want to be able to drag some resources FROM a JFace treeviewer TO the
> desktop and drag
> resources FROM the same desktop back TO other SWT widgets. I also move
> resources on
> the desktop in the "normal" way.
>
> When i register both dnd-handlers on the same viewer, i can no longer move
> resources on the desktop
> itself, because every mouse gesture leads to a drag&drop-operation.
>
> Has anyone ever solved a problem like this? I would appreciate some hints
or
> workarrounds.
> Would be a pity, if GEF does
Re: drag&drop problem [message #190924 is a reply to message #190880] Sun, 07 August 2005 01:28 Go to previous messageGo to next message
Sven Wende is currently offline Sven WendeFriend
Messages: 9
Registered: July 2009
Junior Member
> It's an SWT limitation.

Maybe i didn
Re: drag&drop problem [message #191300 is a reply to message #190924] Tue, 09 August 2005 19:44 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Not on all platforms supported by SWT. Please open a feature request in
bugzilla or search for previous discussions.

> Is there really no way to start the native drag-operation only after the
> mouse passes the boundaries
> of the viewer?
Previous Topic:which TreeViewer should I use? jFace or GEF
Next Topic:Problem in loading emf model when opening
Goto Forum:
  


Current Time: Tue Dec 03 05:56:49 GMT 2024

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

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

Back to the top