Disable expand all tree nodes on asterisk (*) in windows [message #626133] |
Wed, 22 September 2010 07:52  |
Eclipse User |
|
|
|
Originally posted by: swanbrook66.gmail.com
Hi,
I have a Tree in my application which has potentially thousands upon
thousands of node. I have structured in such a way as to limit the
number of objects created depending on which nodes the user expands
which is all fine. The user would have to expand alot of nodes to cause
performance problems.
However, if the user opens the tree and hits the asterisk (*) key in
windows, this automatically expands the whole tree. I want to block this
from happening if possible. Would anyone know of a way of doing it or
if it is possible at all?
Thanks.
|
|
|
Re: Disable expand all tree nodes on asterisk (*) in windows [message #629512 is a reply to message #626133] |
Tue, 28 September 2010 10:15  |
Eclipse User |
|
|
|
Hi,
There isn't a way to do this. The earliest opportunity an app has to
receive keystroke notifications is with a KeyDown listener, but I've
confirmed on Windows that this comes in after the Tree SetData and/or Expand
events which could have restricted the tree expansion if they knew that '*'
had been pressed. Sorry.
Grant
"Tom Jones" <swanbrook66@gmail.com> wrote in message
news:i7cqh0$jms$1@news.eclipse.org...
> Hi,
> I have a Tree in my application which has potentially thousands upon
> thousands of node. I have structured in such a way as to limit the number
> of objects created depending on which nodes the user expands which is all
> fine. The user would have to expand alot of nodes to cause performance
> problems.
> However, if the user opens the tree and hits the asterisk (*) key in
> windows, this automatically expands the whole tree. I want to block this
> from happening if possible. Would anyone know of a way of doing it or if
> it is possible at all?
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.06491 seconds