use of com.android.tools.idea.wizard.model.ModelWizardStep 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;
}
use of com.android.tools.idea.wizard.model.ModelWizardStep in project flutter-intellij by flutter.
the class ChoseProjectTypeStep method createDependentSteps.
@NotNull
@Override
public Collection<? extends ModelWizardStep> createDependentSteps() {
List<ModelWizardStep> allSteps = Lists.newArrayList();
myModuleDescriptionToStepMap = new HashMap<>();
for (ModuleGalleryEntry moduleGalleryEntry : myModuleGalleryEntryList) {
FlutterProjectStep step = ((FlutterGalleryEntry) moduleGalleryEntry).createFlutterStep(getModel());
allSteps.add(step);
myModuleDescriptionToStepMap.put(moduleGalleryEntry, step);
}
return allSteps;
}
use of com.android.tools.idea.wizard.model.ModelWizardStep in project android by JetBrains.
the class SourceToGradleModuleStep method createDependentSteps.
@NotNull
@Override
protected Collection<? extends ModelWizardStep> createDependentSteps() {
WizardContext context = getModel().getContext();
ArrayList<ModelWizardStep> wrappedSteps = new ArrayList<>();
for (ModuleImporter importer : ModuleImporter.getAllImporters(context)) {
for (ModuleWizardStep inputStep : importer.createWizardSteps()) {
wrappedSteps.add(new ModuleWizardStepAdapter(context, inputStep));
}
}
return wrappedSteps;
}
use of com.android.tools.idea.wizard.model.ModelWizardStep in project android by JetBrains.
the class ChooseFormFactorsStep method createDependentSteps.
@NotNull
@Override
public Collection<? extends ModelWizardStep> createDependentSteps() {
List<ModelWizardStep> allSteps = Lists.newArrayList();
for (final FormFactor formFactor : FormFactor.FORM_FACTORS) {
ActivityModel model = new ActivityModel(formFactor);
ChooseActivityStep step = new ChooseActivityStep(model);
// Default to false, show only if selected
step.setVisible(false);
myFormFactorSteps.put(formFactor, step);
allSteps.add(step);
}
return allSteps;
}
Aggregations