Skip to main content



      Home
Home » Eclipse Projects » SWTBot » GEF dialog blocking command execution
GEF dialog blocking command execution [message #496233] Mon, 09 November 2009 07:29 Go to next message
Eclipse UserFriend
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 09:12 Go to previous messageGo to next message
Eclipse UserFriend
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 09:45 Go to previous messageGo to next message
Eclipse UserFriend
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 10:30 Go to previous message
Eclipse UserFriend
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: Sun Jun 22 18:05:25 EDT 2025

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

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

Back to the top