public class SwtBotUtils
extends java.lang.Object
Constructor and Description |
---|
SwtBotUtils(org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot bot) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clickButton(java.lang.String label) |
void |
finish() |
java.lang.String |
getActiveShellHeadline() |
org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot |
getBot() |
void |
ok() |
void |
openFilteredSelection(int index,
java.lang.String dialogName) |
void |
setBot(org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot bot) |
org.eclipse.swtbot.swt.finder.widgets.SWTBotTree |
tree(org.eclipse.swt.widgets.Widget widget) |
org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView |
view(java.lang.String title) |
public SwtBotUtils(org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot bot)
public org.eclipse.swtbot.swt.finder.widgets.SWTBotTree tree(org.eclipse.swt.widgets.Widget widget) throws org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException
public void openFilteredSelection(int index, java.lang.String dialogName)
index
- the index of the SelectionElementdialogName
- the title of the expected dialogpublic org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView view(java.lang.String title) throws org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException
public void cancel()
public void ok()
public void finish()
public void clickButton(java.lang.String label)
public java.lang.String getActiveShellHeadline()
public org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot getBot()
public void setBot(org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot bot)
Copyright © 2007-2018. All Rights Reserved.