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 09: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 11: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: Sun Apr 20 12:38:32 EDT 2014

Powered by FUDForum. Page generated in 0.29317 seconds