Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TreeItems stop expanding/collapsing
TreeItems stop expanding/collapsing [message #448080] Thu, 30 December 2004 18:00 Go to next message
Eclipse UserFriend
Originally posted by: roberto.nucera.informatica.com

I feel this is a serious problem. So I am resending. Can't see why listening
to an event affects the control native behaviour.
Why does the double-click get consumed?
Re: TreeItems stop expanding/collapsing [message #448081 is a reply to message #448080] Thu, 30 December 2004 18:03 Go to previous message
Eclipse UserFriend
Originally posted by: roberto.nucera.informatica.com

Sorry for the empty message.

After adding a listener that does nothing, the double-click behavior is
incorrect.

Here is the code

tree.addSelectionListener( new SelectionAdapter()
{

});

After adding this code the tree items no longer expand/collapse when the
user double-clicks on an item.

roberto


"Roberto Nucera" <roberto.nucera@informatica.com> wrote in message
news:cr1fo2$akp$1@www.eclipse.org...
> I feel this is a serious problem. So I am resending. Can't see why
listening
> to an event affects the control native behaviour.
> Why does the double-click get consumed?
>
>
>
Previous Topic:How to programatically set the charSet of a font ?
Next Topic:Why gc.getCharWidth('A') always returns 0 ????
Goto Forum:
  


Current Time: Thu Apr 25 06:59:39 GMT 2024

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

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

Back to the top