本文整理汇总了Java中org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.waitUntilWidgetAppears方法的典型用法代码示例。如果您正苦于以下问题:Java SWTWorkbenchBot.waitUntilWidgetAppears方法的具体用法?Java SWTWorkbenchBot.waitUntilWidgetAppears怎么用?Java SWTWorkbenchBot.waitUntilWidgetAppears使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot
的用法示例。
在下文中一共展示了SWTWorkbenchBot.waitUntilWidgetAppears方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: waitForTreeItem
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot; //导入方法依赖的package包/类
/**
* Tests if a tree contains items.
*
* @param bot
* to work with
* @param tree
* to look for items in
*/
public static void waitForTreeItem(final SWTWorkbenchBot bot, final SWTBotTree tree) {
bot.waitUntilWidgetAppears(new WaitForTreeItem(tree.widget));
}
示例2: waitForTreeItem
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot; //导入方法依赖的package包/类
/**
* Tests if a tree contains items.
*
* @param bot
* to work with, must not be {@code null}
* @param tree
* to look for items in, must not be {@code null}
*/
public static void waitForTreeItem(final SWTWorkbenchBot bot, final SWTBotTree tree) {
Assert.isNotNull(bot, ARGUMENT_BOT);
Assert.isNotNull(tree, ARGUMENT_TREE);
bot.waitUntilWidgetAppears(new WaitForTree(tree.widget));
}
示例3: waitForTableItem
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot; //导入方法依赖的package包/类
/**
* Tests if a table contains items.
*
* @param bot
* the {@link SWTWorkbenchBot}, must not be {@code null}
* @param table
* the {@link SWTBotTable}, must not be {@code null}
*/
public static void waitForTableItem(final SWTWorkbenchBot bot, final SWTBotTable table) {
Assert.isNotNull(bot, ARGUMENT_BOT);
Assert.isNotNull(table, ARGUMENT_TABLE);
bot.waitUntilWidgetAppears(new WaitForTable(table.widget));
}