SWTBot bot = new SWTBot(); // // find a button within the currently active shell: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher)); // or SWTBotButton button = new SWTBotButton((Button)bot.widget(aMatcher, 3)); // for the 4th widget // // to find a button within a particular parent composite: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite)); //or SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite, 3)); //for the 4th widget@version $Id$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|