use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class DockerImagesTab method pushImage.
public void pushImage(String imageName, String registryAccount, boolean forceTagging, boolean keepTaggedImage) {
selectImage(imageName);
new ContextMenu().getItem("Push...").select();
Combo combo = new DefaultCombo();
combo.setSelection(registryAccount);
new CheckBox("Force tagging image with selected registry").toggle(forceTagging);
new CheckBox("Keep tagged image upon completion").toggle(keepTaggedImage);
new FinishButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method setMemoryLimit.
public void setMemoryLimit(String memoryLimit) {
selectTab(RESOURCES_TAB_LABEL);
new CheckBox("Enable resource limitations").toggle(true);
new LabeledText("Memory limit:").setText(memoryLimit);
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method setAllocatepseudoTTYfromConsolet.
public void setAllocatepseudoTTYfromConsolet(boolean checked) {
selectTab(MAIN_TAB_LABEL);
new CheckBox("Allocate pseudo-TTY from Console (-t)").toggle(checked);
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method getMemoryLimit.
public String getMemoryLimit() {
selectTab(RESOURCES_TAB_LABEL);
new CheckBox("Enable resource limitations").toggle(true);
return new LabeledText("Memory limit:").getText();
}
use of org.eclipse.reddeer.swt.impl.button.CheckBox in project jbosstools-openshift by jbosstools.
the class ImportApplicationWizardGitTest method testNotGitRepo.
@Test
public void testNotGitRepo() {
assertTrue("Failed to create test project non git folder!", projectFolder.mkdir());
service.select();
new ContextMenuItem(OpenShiftLabel.ContextMenu.IMPORT_APPLICATION).select();
new WaitUntil(new ShellIsAvailable(OpenShiftLabel.Shell.IMPORT_APPLICATION));
ImportApplicationWizard importWizard = new ImportApplicationWizard();
assertProjectExistsErrorInWizard(importWizard);
CheckBox useExistingRepositoryCheckBox = new CheckBox(new DefaultGroup("Clone destination"), "Do not clone - use existing repository");
assertFalse("Empty non git folder should not be able to choose!", useExistingRepositoryCheckBox.isEnabled());
importWizard.cancel();
}
Aggregations