use of org.eclipse.reddeer.swt.impl.button.PushButton in project linuxtools by eclipse.
the class ImageSearchPage method searchImage.
public void searchImage(String imageName) {
new LabeledText("Image:").setText(imageName);
new PushButton("Search").click();
new WaitWhile(new JobIsRunning(), TimePeriod.DEFAULT);
}
use of org.eclipse.reddeer.swt.impl.button.PushButton 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.PushButton 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();
}
use of org.eclipse.reddeer.swt.impl.button.PushButton in project linuxtools by eclipse.
the class RegistryAccountsPreferencePage method editRegistry.
public void editRegistry(String serverAddress, String email, String userName, String password) {
Table table = new DefaultTable();
if (table.containsItem(serverAddress)) {
table.select(serverAddress);
new PushButton("Edit").click();
new LabeledText(SERVER_ADDRESS).setText(serverAddress);
new LabeledText(USERNAME).setText(userName);
new LabeledText(EMAIL).setText(email);
new LabeledText(PASSWORD).setText(password);
new PushButton("OK").click();
}
}
use of org.eclipse.reddeer.swt.impl.button.PushButton in project linuxtools by eclipse.
the class RegistryAccountsPreferencePage method addRegistry.
public void addRegistry(String serverAddress, String email, String userName, String password) {
new PushButton("Add").click();
new LabeledText(SERVER_ADDRESS).setText(serverAddress);
new LabeledText(USERNAME).setText(userName);
new LabeledText(EMAIL).setText(email);
new LabeledText(PASSWORD).setText(password);
new OkButton().click();
}
Aggregations