use of org.eclipse.reddeer.swt.impl.menu.ContextMenu in project linuxtools by eclipse.
the class DockerImage method remove.
/**
* * Removes docker image.
*/
public void remove() {
select();
new ContextMenu().getItem("Remove").select();
Shell confirm = new DefaultShell("Confirm Remove Image");
new OkButton().click();
new WaitWhile(new ShellIsAvailable(confirm));
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.menu.ContextMenu in project linuxtools by eclipse.
the class DockerImage method addTagToImage.
public void addTagToImage(String newTag) {
select();
new ContextMenu().getItem("Add Tag").select();
new DefaultShell("Tag Image");
new LabeledText("New Tag:").setText(newTag);
new FinishButton().click();
}
Aggregations