Example usage for org.springframework.ide.eclipse.boot.wizard.importing ImportStrategy getId

List of usage examples for org.springframework.ide.eclipse.boot.wizard.importing ImportStrategy getId

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.wizard.importing ImportStrategy getId.

Prototype

public String getId() 

Source Link

Usage

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 w ww .j av  a 2s . 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);
}