コード例 #1
0
  @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);
 }
コード例 #3
0
 public static GoSdkType getInstance() {
   return SdkType.findInstance(GoSdkType.class);
 }
コード例 #4
0
 public static AndroidSdkType getInstance() {
   return SdkType.findInstance(AndroidSdkType.class);
 }