use of org.eclipse.reddeer.swt.impl.button.OkButton in project linuxtools by eclipse.
the class ImageRunResourceVolumesVariablesPage method addEnviromentVariable.
public void addEnviromentVariable(String name, String value) {
new PushButton(1, new WithTextMatcher("Add...")).click();
new LabeledText("Name:").setText(name);
new LabeledText("Value:").setText(value);
new OkButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.OkButton in project linuxtools by eclipse.
the class ImageRunResourceVolumesVariablesPage method addLabel.
public void addLabel(String name, String value) {
new PushButton(2, new WithTextMatcher("Add...")).click();
new LabeledText("Name:").setText(name);
new LabeledText("Value:").setText(value);
new OkButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.OkButton in project linuxtools by eclipse.
the class ImageRunSelectionPage method addLinkToContainer.
public void addLinkToContainer(String containerName, String alias) {
new PushButton(1, new WithTextMatcher("Add...")).click();
new DefaultShell("Container Linking");
new LabeledCombo("Container:").setText(containerName);
new LabeledText("Alias:").setText(alias);
new OkButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.OkButton in project linuxtools by eclipse.
the class NewDockerConnectionPage method search.
public void search(String connectionName) {
new PushButton("Search...").click();
new WaitUntil(new ShellIsAvailable("Docker Connection Selection"));
Table table = new DefaultTable();
table.getItem(connectionName).select();
new OkButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.OkButton in project linuxtools by eclipse.
the class NewDockerConnectionPage method pingConnection.
public void pingConnection() {
Button testConnectionButton = new PushButton("Test Connection");
testConnectionButton.click();
new WaitUntil(new ShellIsAvailable("Success"));
new OkButton().click();
}
Aggregations