[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [gef-dev] I think the latest build have some problems
|
Thanks for the solution....
is there any other event that requires to be consumed ??
thanks....
Best Regards,
Joel
--------------------------------------
Joel G Rivera-Gonzalez
HCI Group
IBM TJ Watson Research Center
19 Skyline Dr
Hawthorne, NY 10532-2119
Phone (914) 784-7802 T/L 863-7802
----- Original Message -----
From: Randy Hudson
To: gef-dev@xxxxxxxxxxx
Sent: Monday, November 11, 2002 4:07 PM
Subject: Re: [gef-dev] I think the latest build have some problems
Try this fix to the Demo4.Dragger class:
public void mousePressed(MouseEvent e){
last = e.getLocation();
--> e.consume();
}
Currently it is now *required* that a MouseListener consume() the
mousePressed Event if it wants a guarantee that it receives future mouse
events. This is why you are seeing strange behavior.
This was necessary to enable better drag-and-drop support when mixing Draw2d
and GEF. If you click on a Figure which wants to behave like a Button
(a.k.a. Clickable), you should prevent a native Drag from starting on the
Canvas.
I think we probably need to roll-back "free" mouse capture for figures.
"Joel G Rivera-Gonzalez" <el_pio@xxxxxxxxx>
Sent by: gef-dev-admin@xxxxxxxxxxx
11/11/2002 03:39 PM
Please respond to gef-dev
To: <gef-dev@xxxxxxxxxxx>
cc:
Subject: [gef-dev] I think the latest build have some
problems
Hi...
I "upgraded" my draw2d lib. (builded on 8/21/2002), which I downloaded 2
weeks ago, to the latest build (11/08/2002).
The problem is that I made my program based on the old build, but I need
some new stuff that was added after the old build. Now my program has some
problems…
You can see what I mean by compiling and running the Demo4 (the one with 2
squares and a link) with the new version and then compare it with the old
version...
I don’t know what's wrong because I don’t see any significant change from
the old version’s Demo4 and the new version’s Demo4.
Thanks
Joel
Best Regards,
Joel
--------------------------------------
Joel G Rivera-Gonzalez
HCI Group
IBM TJ Watson Research Center
19 Skyline Dr
Hawthorne, NY 10532-2119
Phone (914) 784-7802 T/L 863-7802
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/gef-dev