use of org.eclipse.reddeer.swt.impl.text.LabeledText in project linuxtools by eclipse.
the class NewDockerConnectionPage method setTcpConnection.
public void setTcpConnection(String uri, String authentificationCertificatePath, boolean pingConnection) {
setTcpUri(uri);
if (authentificationCertificatePath != null) {
new CheckBox("Enable authentication").toggle(true);
new LabeledText("Path:").setText(authentificationCertificatePath);
}
if (pingConnection) {
pingConnection();
}
}
use of org.eclipse.reddeer.swt.impl.text.LabeledText in project linuxtools by eclipse.
the class NewDockerConnectionPage method setTcpUri.
public void setTcpUri(String uri) {
setConnectionName(uri);
new CheckBox("Use custom connection settings:").toggle(true);
new LabeledText("Location:").setText("");
new RadioButton("TCP Connection").toggle(true);
new LabeledText("URI:").setText(uri);
}
use of org.eclipse.reddeer.swt.impl.text.LabeledText in project linuxtools by eclipse.
the class NewDockerConnectionPage method setUnixSocket.
public void setUnixSocket(String unixSocket) {
new CheckBox("Use custom connection settings:").toggle(true);
new LabeledText("Location:").setText(unixSocket);
}
use of org.eclipse.reddeer.swt.impl.text.LabeledText in project linuxtools by eclipse.
the class DockerImagesTab method buildImage.
public void buildImage(String name, String directory) {
activate();
new DefaultToolItem("Build Image").click();
new WaitUntil(new ShellIsAvailable("Build a Docker Image"));
new LabeledText("Image Name:").setText(name);
new LabeledText("Directory:").setText(directory);
new FinishButton().click();
}
use of org.eclipse.reddeer.swt.impl.text.LabeledText in project linuxtools by eclipse.
the class DockerImagesTab method addTagToImage.
public void addTagToImage(String imageName, String newTag) {
selectImage(imageName);
new ContextMenu().getItem("Add Tag").select();
new DefaultShell("Tag Image");
new LabeledText("New Tag:").setText(newTag);
new FinishButton().click();
}
Aggregations