use of org.eclipse.reddeer.core.condition.NamedThreadHasStatus in project reddeer by eclipse.
the class NewRuntimeWizardPage method selectType.
/**
* Select type.
*
* @param type the type
*/
public NewRuntimeWizardPage selectType(String... type) {
new WaitUntil(new NamedThreadHasStatus(new StringContains("Initializing Servers view"), Thread.State.TERMINATED, true));
new DefaultTreeItem(new DefaultTree(this), type).select();
return this;
}
use of org.eclipse.reddeer.core.condition.NamedThreadHasStatus in project reddeer by eclipse.
the class NewServerWizardPage method selectType.
/**
* Select type.
*
* @param type
* the type
*/
public NewServerWizardPage selectType(String... type) {
new GroupWait(waitUntil(new NamedThreadHasStatus(new StringContains("Initializing Servers view"), Thread.State.TERMINATED, true)), waitUntil(new TreeContainsItem(new DefaultTree(this), type)));
new DefaultTreeItem(new DefaultTree(this), type).select();
new WaitUntil(new ControlIsEnabled(new NextButton(this)));
return this;
}
Aggregations