Package com.intellij.ide.util.projectWizard

Examples of com.intellij.ide.util.projectWizard.ProjectWizardStepFactory


        super(builder);
    }

    @Override
    public ModuleWizardStep[] createSteps(WizardContext context) {
        ProjectWizardStepFactory factory = ProjectWizardStepFactory.getInstance();

        //Add a step into the importer, with which the user can choose the used Go SDK
        return new ModuleWizardStep[] {factory.createProjectJdkStep(context,
      SdkType.findInstance(GoSdkType.class), new GoModuleBuilder(),
      new Computable.PredefinedValueComputable<Boolean>(true), null, "")};
    }
View Full Code Here


    @Override
    protected StepSequence createSteps(@NotNull WizardContext context, @NotNull ModulesProvider modulesProvider) {
        StepSequence sequence = new StepSequence();

        ProjectWizardStepFactory factory = ProjectWizardStepFactory.getInstance();

        final boolean isNewProject = context.getProject() == null;
        if (isNewProject) {
            sequence.addCommonStep(new ProjectNameStep(context, this));
        }

        sequence.addCommonStep(factory.createProjectJdkStep(context, GoSdkType.getInstance(), goModuleBuilder, new Computable<Boolean>() {
            @Override
            public Boolean compute() {
                List<Sdk> sdkList = GoSdkUtil.getSdkOfType(GoSdkType.getInstance());
                return !(sdkList != null && sdkList.size() == 1);
View Full Code Here

    @Override
    public ModuleWizardStep[] createWizardSteps(@NotNull WizardContext wizardContext, @NotNull GoModuleBuilder moduleBuilder, @NotNull ModulesProvider modulesProvider)
    {
        List<ModuleWizardStep> steps = new ArrayList<ModuleWizardStep>();

        ProjectWizardStepFactory factory = ProjectWizardStepFactory.getInstance();

        steps.add(new GoModuleWizardStepPackageConfig(moduleBuilder));
        steps.add(new GoModuleWizardProjectSettings(moduleBuilder));
        steps.add(factory.createProjectJdkStep(wizardContext, SdkType.findInstance(GoSdkType.class), moduleBuilder, new Computable.PredefinedValueComputable<Boolean>(true), null, ""));
        return steps.toArray(new ModuleWizardStep[steps.size()]);
    }
View Full Code Here

        super(builder);
    }

    @Override
    public ModuleWizardStep[] createSteps(WizardContext context) {
        ProjectWizardStepFactory stepFactory = ProjectWizardStepFactory.getInstance();
        return new ModuleWizardStep[]{new LeiningenProjectImportWizardStep(context, context.getProjectFileDirectory()),stepFactory.createProjectJdkStep(context)};
    }
View Full Code Here

TOP

Related Classes of com.intellij.ide.util.projectWizard.ProjectWizardStepFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.