use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class ImageRunResourceVolumesVariablesPage method addDataVolumeToHost.
public void addDataVolumeToHost(String containerPath, String path, boolean readOnly) {
new PushButton(0, new WithTextMatcher("Add...")).click();
new LabeledText("Container path:").setText(containerPath);
new RadioButton("Mount a host directory or host file").click();
new LabeledText("Path:").setText(path);
new CheckBox("Read-only access").toggle(readOnly);
;
new OkButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox 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.button.CheckBox 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.button.CheckBox 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.button.CheckBox in project linuxtools by eclipse.
the class LoggingPreferencePage method setAutomaticallyLog.
public void setAutomaticallyLog(boolean toggle) {
CheckBox cb = new CheckBox("Automatically log when Container starts");
cb.toggle(toggle);
}
Aggregations