Skip to main content



      Home
Home » Eclipse Projects » GEF » Drag and Drop between Views
Drag and Drop between Views [message #52144] Thu, 02 January 2003 11:31 Go to next message
Eclipse UserFriend
Hello!

There seem to be 2 different kinds of Drag'nDrop in GEF:
1. Inside one viewer- no problems there
2. between different viewers / forms / windows
(Like the templates from the logic example palette)

Both kinds use a DragEditPartsTracker, but in case one, the state changes to
4 on movement
while in case 2 is the state will be 2 till the drop.
Only case 2 will print Drag Events in the debug window.

What is the difference and how can I tell my EditParts to use the second
kind?


Thanks for any help,
Manfred Goetz.
Re: Drag and Drop between Views [message #52223 is a reply to message #52144] Fri, 03 January 2003 12:59 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

When using native drag and drop, the DragEditPartsTracker is not used to
perform the drag. Its function is simply to select the EditPart on mouse
down. It gets unloaded immediately if a native drag begins.

"Manfred Goetz" <xgoetz@de.ibm.com> wrote in message
news:av4d93$uer$1@rogue.oti.com...
> Hello!
>
> There seem to be 2 different kinds of Drag'nDrop in GEF:
> 1. Inside one viewer- no problems there
> 2. between different viewers / forms / windows
> (Like the templates from the logic example palette)
>
> Both kinds use a DragEditPartsTracker, but in case one, the state changes
to
> 4 on movement
> while in case 2 is the state will be 2 till the drop.
> Only case 2 will print Drag Events in the debug window.
>
> What is the difference and how can I tell my EditParts to use the second
> kind?
>
>
> Thanks for any help,
> Manfred Goetz.
>
>
Previous Topic:selection problem
Next Topic:Need help with ZOOM implementation
Goto Forum:
  


Current Time: Mon May 12 03:17:26 EDT 2025

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

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

Back to the top