List of usage examples for org.springframework.ide.eclipse.boot.wizard RadioGroup getRadio
public RadioInfo getRadio(String value)
From source file:org.springframework.ide.eclipse.boot.wizard.NewSpringBootWizardModel.java
/** * Convenience method so that test code can easily select an import strategy. * This will throw an exception if the given importstragey is not present * in this wizardmodel./*from ww w.j a va 2 s.c om*/ */ public void setImportStrategy(ImportStrategy is) { RadioGroup typeRadios = getRadioGroups().getGroup("type"); RadioInfo radio = typeRadios.getRadio(is.getId()); Assert.isLegal(radio != null); typeRadios.setValue(radio); }