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

    ProjectWizardStepFactory factory = ProjectWizardStepFactory.getInstance();

    //        steps.add(factory.createSourcePathsStep(wizardContext, moduleBuilder, null,
    // "reference.dialogs.new.project.fromScratch.source"));
    //        steps.add(factory.createProjectJdkStep(wizardContext));
    //        steps.add(new AndroidModuleWizardStep(moduleBuilder, wizardContext.getProject()));
    steps.add(
        factory.createSourcePathsStep(
            wizardContext,
            moduleBuilder,
            null,
            "reference.dialogs.new.project.fromScratch.source"));
    steps.add(
        factory.createProjectJdkStep(
            wizardContext,
            SdkType.findInstance(GoSdkType.class),
            moduleBuilder,
            new Computable.PredefinedValueComputable<Boolean>(true),
            null,
            ""));
    //        steps.add(new GoModuleWizardStep(moduleBuilder, wizardContext.getProject()));
    return steps.toArray(new ModuleWizardStep[steps.size()]);
  }
예제 #2
0
 public static DartSdkType getInstance() {
   return SdkType.findInstance(DartSdkType.class);
 }
 public static GoSdkType getInstance() {
   return SdkType.findInstance(GoSdkType.class);
 }
예제 #4
0
 public static AndroidSdkType getInstance() {
   return SdkType.findInstance(AndroidSdkType.class);
 }