use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class DockerConnection method refreshContainers.
/**
* Refresh containers.
*/
public void refreshContainers() {
treeViewerHandler.getTreeItem(item, "Containers").select();
new ContextMenu().getItem("Refresh").select();
new WaitWhile(new JobIsRunning());
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class DockerConnection method refreshImages.
/**
* Refresh images.
*/
public void refreshImages() {
treeViewerHandler.getTreeItem(item, "Images").select();
new ContextMenu().getItem("Refresh").select();
new WaitWhile(new JobIsRunning());
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project linuxtools by eclipse.
the class DockerContainer method remove.
public void remove() {
select();
boolean removeEnabled = new ContextMenu().getItem("Remove").isEnabled();
if (!removeEnabled) {
new ContextMenu().getItem("Stop").select();
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
item.select();
}
new ContextMenu().getItem("Remove").select();
new WaitUntil(new ShellIsAvailable("Confirm Remove Container"), TimePeriod.DEFAULT);
new PushButton("OK").click();
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project jbosstools-hibernate by jbosstools.
the class LaunchConfigurationsDialog method run.
/**
* Executes configuration
*/
public void run() {
new PushButton(this, "Run").click();
new WaitWhile(new ShellIsAvailable(this));
new WaitUntil(new JobIsRunning());
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.eclipse.reddeer.common.wait.WaitWhile in project jbosstools-hibernate by jbosstools.
the class LaunchConfigurationsDialog method close.
/**
* Presses Close button on the Dialog.
*/
public void close() {
new PushButton(this, "Close").click();
new WaitWhile(new ShellIsAvailable(this));
new WaitWhile(new JobIsRunning());
}
Aggregations