Community
Participate
Working Groups
Build Identifier: I20100608-0911 I used it in the following way :- SWTBotGefEditPart labelEditPart = gefEditor.getEditPart(<Label Name>).select(); labelEditPart.doubleClick(); But it could not worked for me. That is Double Click Action could not invoke.. Reproducible: Always Steps to Reproduce: I used it in the following way :- SWTBotGefEditPart labelEditPart = gefEditor.getEditPart(<Label Name>).select(); labelEditPart.doubleClick(); But it could not worked for me. That is Double Click Action could not invoke..
Well I created a unit test case on logic example and was not able to reproduce. Did you see that the double click action is launched in a asynchronous manner, which means that you need to wait the UI thread execute the runnable. However I find while debugging that events sent by the bot were not exactly the same. More precisely the button mask was not the good one for several events the correct one. I have fixed it. See : http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/commit/?id=881816b374a0efbb58c38bd994cc6244db115689 http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/commit/?id=c88a20acb6a11f932d087d90410cda6a850fdf96 Committed and pushed.