Example usage for org.springframework.ide.eclipse.boot.wizard TypeRadioInfo getImportStrategy

List of usage examples for org.springframework.ide.eclipse.boot.wizard TypeRadioInfo getImportStrategy

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.wizard TypeRadioInfo getImportStrategy.

Prototype

public ImportStrategy getImportStrategy() 

Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.wizard.NewSpringBootWizardModel.java

/**
 * Get currently selected import strategy.
 *//*from   w  w w.j av a  2  s  .c o m*/
public ImportStrategy getImportStrategy() {
    TypeRadioInfo selected = getSelectedTypeRadio();
    if (selected != null) {
        return selected.getImportStrategy();
    }
    return null;
}