Search in sources :

Example 1 with SkippableWizardStep

use of com.android.tools.idea.wizard.model.SkippableWizardStep in project android by JetBrains.

the class ChooseModuleTypeStep method createDependentSteps.

@NotNull
@Override
public Collection<? extends ModelWizardStep> createDependentSteps() {
    List<ModelWizardStep> allSteps = Lists.newArrayList();
    myModuleDescriptionToStepMap = new HashMap<>();
    for (ModuleGalleryEntry moduleGalleryEntry : myModuleGalleryEntryList) {
        SkippableWizardStep step = moduleGalleryEntry.createStep(getModel());
        allSteps.add(step);
        myModuleDescriptionToStepMap.put(moduleGalleryEntry, step);
    }
    return allSteps;
}
Also used : SkippableWizardStep(com.android.tools.idea.wizard.model.SkippableWizardStep) ModelWizardStep(com.android.tools.idea.wizard.model.ModelWizardStep) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

ModelWizardStep (com.android.tools.idea.wizard.model.ModelWizardStep)1 SkippableWizardStep (com.android.tools.idea.wizard.model.SkippableWizardStep)1 NotNull (org.jetbrains.annotations.NotNull)1