double click selection competing with single click selection [message #183697] |
Mon, 06 June 2005 18:33 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 1.03381 seconds