Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » double click selection competing with single click selection
double click selection competing with single click selection [message #183697] Mon, 06 June 2005 18:33 Go to next message
Eclipse UserFriend
Originally posted by: pacheco.ai.sri.com

Hi everyone,

I've implemented my tool to allow a user to double click on a node to
select that node and all of the subtree connected to it. This works. I
implemented the performRequest for requests of type REQ_OPEN to select
the subtree.

HOWEVER, after the mouseDoubleClick is performed a mouseUp is performed.
Which then causes the dragTracker's mouseUp which changes the
selection again to just the single node. :-(

What is the best way to override this functionality? Do I need to get
the editpart, the selection tool, or the drag tracker to remember "Oh
hey I just did a double click selection, I shouldn't try to do this
single click selection now."?

Thanks for the help,
John
Re: double click selection competing with single click selection [message #183862 is a reply to message #183697] Wed, 08 June 2005 04:28 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

It's fixed.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=46757

"John Pacheco" <pacheco@ai.sri.com> wrote in message
news:d824uj$djl$1@news.eclipse.org...
> Hi everyone,
>
> I've implemented my tool to allow a user to double click on a node to
> select that node and all of the subtree connected to it. This works. I
> implemented the performRequest for requests of type REQ_OPEN to select
> the subtree.
>
> HOWEVER, after the mouseDoubleClick is performed a mouseUp is performed.
> Which then causes the dragTracker's mouseUp which changes the
> selection again to just the single node. :-(
>
> What is the best way to override this functionality? Do I need to get
> the editpart, the selection tool, or the drag tracker to remember "Oh
> hey I just did a double click selection, I shouldn't try to do this
> single click selection now."?
>
> Thanks for the help,
> John
Previous Topic:autoscrolling support?
Next Topic:Background Image
Goto Forum:
  


Current Time: Fri Apr 26 08:06:01 GMT 2024

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

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

Back to the top