Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tree selection
Tree selection [message #125591] Wed, 18 March 2009 14:48 Go to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

Hi

when programmatically selecting a tree node (tree.setSelection(treeItem)),
no selectionListener is called. Am i missing something or is it a bug?

Thanks
Andrej
Re: Tree selection [message #125605 is a reply to message #125591] Wed, 18 March 2009 15:05 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Andrej,

if you can prove that setSelection fires selection events in SWT it
is a bug. Otherwise it is desired behavior.

Chers,
Rüdiger

Andrej Dimic wrote:
> Hi
>
> when programmatically selecting a tree node (tree.setSelection(treeItem)),
> no selectionListener is called. Am i missing something or is it a bug?
>
> Thanks
> Andrej
>
Re: Tree selection [message #125630 is a reply to message #125591] Wed, 18 March 2009 15:09 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Andrej Dimic wrote:
> when programmatically selecting a tree node (tree.setSelection(treeItem)),
> no selectionListener is called. Am i missing something or is it a bug?

Could you try this with SWT? If it works there, then it is a bug.

Ralf
Antw: Re: Tree selection [message #125642 is a reply to message #125630] Wed, 18 March 2009 17:20 Go to previous message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

the behavior in SWT and RWT is the same (no Event is fired).

Cheers
Andrej


>>> Ralf Sternberg<rsternberg@eclipsesource.com> schrieb am 18.03.2009 um
16:09
in Nachricht <gpr2s5$och$2@build.eclipse.org>:
> Andrej Dimic wrote:
>> when programmatically selecting a tree node
> (tree.setSelection(treeItem)),
>> no selectionListener is called. Am i missing something or is it a bug?
>
> Could you try this with SWT? If it works there, then it is a bug.
>
> Ralf
Previous Topic:Problem with theming Label font
Next Topic:RAP GUI
Goto Forum:
  


Current Time: Tue Apr 16 07:17:25 GMT 2024

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

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

Back to the top