Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » GEF dialog blocking command execution
GEF dialog blocking command execution [message #496233] Mon, 09 November 2009 12:29 Go to next message
Matt Biggs is currently offline Matt Biggs
Messages: 68
Registered: July 2009
Member
We are using the GEF bot to select a tool and then click on the GEF editor.

This works as expected. It fires off the various mouse events. Our GEF 'add new control' command gets executed, which in turn pops up a dialog/wizard requesting the name for the new control.

The problem is that at the point of the dialog appearing, the GEF command hasn't finished executing, so the GEF bot isnt handed back control and hence doesn't continue.

This means we can't automate entering a name for the control on the dialog that appears.

Has anyone got any ideas on what we could do to get around this? I guess we need to fire off the mouse events asynchronously.
Re: GEF dialog blocking command execution [message #496257 is a reply to message #496233] Mon, 09 November 2009 14:12 Go to previous messageGo to next message
Mariot Chauvin is currently offline Mariot Chauvin
Messages: 174
Registered: July 2009
Senior Member
Matt,

This sounds like this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=291911
I will write a test case and apply the patch to fix it asap.

Best regards,

Mariot

Matt Biggs a écrit :
> We are using the GEF bot to select a tool and then click on the GEF editor.
> This works as expected. It fires off the various mouse events. Our GEF
> 'add new control' command gets executed, which in turn pops up a
> dialog/wizard requesting the name for the new control.
> The problem is that at the point of the dialog appearing, the GEF
> command hasn't finished executing, so the GEF bot isnt handed back
> control and hence doesn't continue.
> This means we can't automate entering a name for the control on the
> dialog that appears.
> Has anyone got any ideas on what we could do to get around this? I guess
> we need to fire off the mouse events asynchronously.
Re: GEF dialog blocking command execution [message #496269 is a reply to message #496233] Mon, 09 November 2009 14:45 Go to previous messageGo to next message
Matt Biggs is currently offline Matt Biggs
Messages: 68
Registered: July 2009
Member
Thanks, that does indeed look like the same issue.


ps) do you know if bug 290134 will be applied anytime soon? Im currently patching the source code each release.
Re: GEF dialog blocking command execution [message #496280 is a reply to message #496269] Mon, 09 November 2009 15:30 Go to previous message
Mariot Chauvin is currently offline Mariot Chauvin
Messages: 174
Registered: July 2009
Senior Member
I will fix it today, it will be in the next release.

Matt Biggs a écrit :
> Thanks, that does indeed look like the same issue.
>
> ps) do you know if bug 290134 will be applied anytime soon? Im currently
> patching the source code each release.
Previous Topic:[Fwd: [Bug 269609] GEF editors support]
Next Topic:How do I call another test within a test?
Goto Forum:
  


Current Time: Tue Sep 16 11:27:34 GMT 2014

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

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