use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class ImageTagSelectionPage method finish.
public void finish() {
new FinishButton().click();
new WaitWhile(new JobIsRunning(), TimePeriod.VERY_LONG);
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class NewDockerConnectionPage method finish.
public void finish() {
new WaitUntil(new ShellIsAvailable(NEW_DOCKER_CONNECTION_SHELL));
new WaitUntil(new ControlIsEnabled(new FinishButton()));
new FinishButton().click();
new WaitWhile(new ShellIsAvailable(NEW_DOCKER_CONNECTION_SHELL), TimePeriod.LONG);
new WaitWhile(new JobIsRunning(), TimePeriod.VERY_LONG);
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class AbstractView method openViaMenu.
private void openViaMenu() {
WithTextMatchers m = new WithTextMatchers(new RegexMatcher[] { new RegexMatcher("Window.*"), new RegexMatcher("Show View.*"), new RegexMatcher("Other...*") });
new ShellMenu().getItem(m.getMatchers()).select();
new DefaultShell(SHOW_VIEW);
new DefaultTreeItem(path).select();
new PushButton("Open").click();
new WaitWhile(new ShellIsAvailable(SHOW_VIEW));
new WaitUntil(new ViewCTabIsAvailable());
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method editLink.
public void editLink(String oldContainer, String newContainer, String newAlias) {
selectTab(LINKS_TAB_LABEL);
if (selectItemInTable(oldContainer)) {
new PushButton("Edit...").click();
new WaitWhile(new ShellIsAvailable("Container Linking"));
new LabeledText("Container:").setText(newContainer);
new LabeledText("Value:").setText(newAlias);
new OkButton().click();
} else {
throw new EclipseLayerException("There is no " + oldContainer + " in table on tab " + LINKS_TAB_LABEL);
}
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class DockerConnection method enableConnection.
public void enableConnection() {
select();
new DefaultToolItem("Enable Connection").click();
new WaitWhile(new JobIsRunning());
}
Aggregations