use of com.intellij.ide.util.projectWizard.ModuleWizardStep in project intellij-plugins by JetBrains.
the class FlexProjectStructureDetector method createWizardSteps.
public List<ModuleWizardStep> createWizardSteps(final ProjectFromSourcesBuilder builder, final ProjectDescriptor projectDescriptor, final Icon stepIcon) {
FlexModuleInsight moduleInsight = new FlexModuleInsight(new DelegatingProgressIndicator(), builder.getExistingModuleNames(), builder.getExistingProjectLibraryNames());
final List<ModuleWizardStep> steps = new ArrayList<>();
steps.add(new LibrariesDetectionStep(builder, projectDescriptor, moduleInsight, stepIcon, "reference.dialogs.new.project.fromCode.page1"));
steps.add(new ModulesDetectionStep(this, builder, projectDescriptor, moduleInsight, stepIcon, "reference.dialogs.new.project.fromCode.page2"));
steps.add(new FlexSdkStep(builder.getContext()));
return steps;
}
use of com.intellij.ide.util.projectWizard.ModuleWizardStep in project intellij-plugins by StepicOrg.
the class CourseModuleBuilder method createWizardSteps.
@Override
public ModuleWizardStep[] createWizardSteps(@NotNull WizardContext wizardContext, @NotNull ModulesProvider modulesProvider) {
ModuleWizardStep[] previousWizardSteps = super.createWizardSteps(wizardContext, modulesProvider);
ModuleWizardStep[] wizardSteps = new ModuleWizardStep[previousWizardSteps.length + 1];
Project project = wizardContext.getProject() == null ? DefaultProjectFactory.getInstance().getDefaultProject() : wizardContext.getProject();
wizardStep = new JavaWizardStep(generator, project);
wizardSteps[0] = wizardStep;
return wizardSteps;
}
Aggregations