Search in sources :

Example 1 with RadioButton

use of org.eclipse.reddeer.swt.impl.button.RadioButton in project linuxtools by eclipse.

the class ImageRunNetworkPage method setContainerNetworkMode.

public void setContainerNetworkMode(String containerName) {
    new RadioButton("Container:").click();
    new LabeledCombo("").setText(containerName);
}
Also used : LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton)

Example 2 with RadioButton

use of org.eclipse.reddeer.swt.impl.button.RadioButton in project linuxtools by eclipse.

the class ImageRunResourceVolumesVariablesPage method addDataVolumeNoExternalMount.

public void addDataVolumeNoExternalMount(String containerPath) {
    new PushButton(0, new WithTextMatcher("Add...")).click();
    new LabeledText("Container path:").setText(containerPath);
    new RadioButton("No external mount").click();
    new OkButton().click();
}
Also used : OkButton(org.eclipse.reddeer.swt.impl.button.OkButton) WithTextMatcher(org.eclipse.reddeer.core.matcher.WithTextMatcher) LabeledText(org.eclipse.reddeer.swt.impl.text.LabeledText) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton)

Example 3 with RadioButton

use of org.eclipse.reddeer.swt.impl.button.RadioButton 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();
}
Also used : OkButton(org.eclipse.reddeer.swt.impl.button.OkButton) WithTextMatcher(org.eclipse.reddeer.core.matcher.WithTextMatcher) LabeledText(org.eclipse.reddeer.swt.impl.text.LabeledText) CheckBox(org.eclipse.reddeer.swt.impl.button.CheckBox) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton)

Example 4 with RadioButton

use of org.eclipse.reddeer.swt.impl.button.RadioButton 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);
}
Also used : LabeledText(org.eclipse.reddeer.swt.impl.text.LabeledText) CheckBox(org.eclipse.reddeer.swt.impl.button.CheckBox) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton)

Example 5 with RadioButton

use of org.eclipse.reddeer.swt.impl.button.RadioButton in project linuxtools by eclipse.

the class RunDockerImageLaunchConfiguration method addDataVolumeNoExternalMount.

public void addDataVolumeNoExternalMount(String containerPath) {
    selectTab(VOLUMES_TAB_LABEL);
    new PushButton("Add..").click();
    new LabeledText("Container path:").setText(containerPath);
    new RadioButton("No external mount").click();
    new OkButton().click();
}
Also used : OkButton(org.eclipse.reddeer.swt.impl.button.OkButton) LabeledText(org.eclipse.reddeer.swt.impl.text.LabeledText) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton)

Aggregations

RadioButton (org.eclipse.reddeer.swt.impl.button.RadioButton)15 LabeledText (org.eclipse.reddeer.swt.impl.text.LabeledText)9 PushButton (org.eclipse.reddeer.swt.impl.button.PushButton)7 OkButton (org.eclipse.reddeer.swt.impl.button.OkButton)6 CheckBox (org.eclipse.reddeer.swt.impl.button.CheckBox)5 WithTextMatcher (org.eclipse.reddeer.core.matcher.WithTextMatcher)3 DefaultCombo (org.eclipse.reddeer.swt.impl.combo.DefaultCombo)2 LabeledCombo (org.eclipse.reddeer.swt.impl.combo.LabeledCombo)1 DefaultGroup (org.eclipse.reddeer.swt.impl.group.DefaultGroup)1 WorkbenchPreferenceDialog (org.eclipse.reddeer.workbench.ui.dialogs.WorkbenchPreferenceDialog)1