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
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 Padegaonkar
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: Tue Sep 23 00:33:56 GMT 2014

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

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