[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [gef-dev] Target feedback
|
Yes, but I'm using that information to modify the request's extended
data, so the second issue you mention isn't really a problem. I have a
derived CreationTool that I use to temporarily get around the ordering
problem but I'd rather take that code out if the default CreationTool
class would get the command after showing the feedback.
David
-----Original Message-----
From: gef-dev-bounces@xxxxxxxxxxx [mailto:gef-dev-bounces@xxxxxxxxxxx]
On Behalf Of ext Randy Hudson
Sent: Thursday, June 07, 2007 10:38 AM
To: GEF development
Cc: gef-dev@xxxxxxxxxxx; gef-dev-bounces@xxxxxxxxxxx
Subject: RE: [gef-dev] Target feedback
Are you using the feedback figure to calculate information that is later
applied to the resulting command?
Besides the ordering, another issue that can come up is that the
feedback is always hidden before the final call to getCommand(), which
is the command that actually executes.
-Randy
<David.Dubrow@nok
ia.com>
Sent by:
To
gef-dev-bounces@e <gef-dev@xxxxxxxxxxx>
clipse.org
cc
Subject
06/07/2007 10:22 RE: [gef-dev] Target feedback
AM
Please respond to
GEF development
<gef-dev@eclipse.
org>
Oh and by the way, the DragEditPartsTracker also gets the command after
showing target feedback.
Thanks.
From: gef-dev-bounces@xxxxxxxxxxx [mailto:gef-dev-bounces@xxxxxxxxxxx]
Sent: Thursday, June 07, 2007 9:10 AM
To: gef-dev@xxxxxxxxxxx
Subject: [gef-dev] Target feedback
Hi,
In the CreationTool, showTargetFeedback is called after the call to
getCommand, both from handleMove and handleDragInProgress. However, in
the ResizeTracker, showTargetFeedback is called prior to the call to
getCommand.
Is it intentional that the order of these calls is reversed in the two
tools? If not, I would definitely appreciate it if both tools had the
same policy with respect to the ordering of showing feedback and getting
the command. For my purposes, I would appreciate it if getting the
command was always the last step after showing the feedback, as it is
currently in the resize tracker tool.
If you want me to file a bugzilla about this, please let me know.
Thanks.
David Dubrow
david.dubrow@xxxxxxxxx
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev