Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Notification is made twice with CCombo
Notification is made twice with CCombo [message #548625] Thu, 22 July 2010 13:59 Go to next message
Etienne  is currently offline Etienne Friend
Messages: 13
Registered: July 2009
Junior Member
Hi,

In class SWTBotCCombo, method setSelection(String), notification is made twice:

1) _setSelection(text) is calling select(indexOf) which is calling notify(SWT.Selection);

2) the method setSelection(String) si also calling notify(SWT.Selection) directly.

Is it possible to remove one of the two notifications?

Regards,

Etienne
Re: Notification is made twice with CCombo [message #548664 is a reply to message #548625] Thu, 22 July 2010 15:08 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
I'll take a look at this one and spin off a build this weekend.

Thanks for reporting.

-- Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot

On 7/22/10 6:59 AM, Etienne wrote:
> Hi,
>
> In class SWTBotCCombo, method setSelection(String), notification is made
> twice:
>
> 1) _setSelection(text) is calling select(indexOf) which is calling
> notify(SWT.Selection);
>
> 2) the method setSelection(String) si also calling notify(SWT.Selection)
> directly.
>
> Is it possible to remove one of the two notifications?
>
> Regards,
>
> Etienne
Previous Topic:Testing ElementListSelectionDialog
Next Topic:New release of SWTBot now available!
Goto Forum:
  


Current Time: Fri Apr 26 20:32:23 GMT 2024

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

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

Back to the top