use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method addDataVolumeToHost.
public void addDataVolumeToHost(String containerPath, String path, boolean readOnly) {
selectTab(VOLUMES_TAB_LABEL);
new PushButton("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 RunDockerImageLaunchConfiguration method setKeepSTDINopentoConsoleevenifnotattachedi.
public void setKeepSTDINopentoConsoleevenifnotattachedi(boolean checked) {
selectTab(MAIN_TAB_LABEL);
new CheckBox("Keep STDIN open to Console even if not attached (-i)").toggle(checked);
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method setPrivilegedMode.
public void setPrivilegedMode(boolean checked) {
selectTab(MAIN_TAB_LABEL);
new CheckBox("Give extended privileges to this container (--privileged)").toggle(checked);
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method setRemoveContainerOnExit.
public void setRemoveContainerOnExit(boolean checked) {
selectTab(MAIN_TAB_LABEL);
new CheckBox("Automatically remove the container when it exits (--rm)").toggle(checked);
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method setEnableResourceLimitations.
public void setEnableResourceLimitations(boolean check) {
selectTab(RESOURCES_TAB_LABEL);
new CheckBox("Enable resource limitations").toggle(check);
}
Aggregations