当前位置: 首页>>代码示例>>Java>>正文


Java ProjectJdkForModuleStep类代码示例

本文整理汇总了Java中com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep的典型用法代码示例。如果您正苦于以下问题:Java ProjectJdkForModuleStep类的具体用法?Java ProjectJdkForModuleStep怎么用?Java ProjectJdkForModuleStep使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ProjectJdkForModuleStep类属于com.intellij.ide.util.projectWizard包,在下文中一共展示了ProjectJdkForModuleStep类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
@NotNull
@Override
public ModuleWizardStep[] createWizardSteps(@NotNull WizardContext wizardContext,
                                            @NotNull final SquirrelModuleBuilder moduleBuilder,
                                            @NotNull ModulesProvider modulesProvider) {
    return new ModuleWizardStep[]{new ProjectJdkForModuleStep(wizardContext, SquirrelSdkType.getInstance()) {
        public void updateDataModel() {
            super.updateDataModel();
            moduleBuilder.setModuleJdk(getJdk());
        }
    }};
}
 
开发者ID:shvetsgroup,项目名称:squirrel-lang-idea-plugin,代码行数:13,代码来源:SquirrelModuleType.java

示例2: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
@NotNull
@Override
public ModuleWizardStep[] createWizardSteps(@NotNull WizardContext wizardContext,
                                            @NotNull final DLangModuleBuilder moduleBuilder,
                                            @NotNull ModulesProvider modulesProvider) {
    return new ModuleWizardStep[]{new ProjectJdkForModuleStep(wizardContext, DLangSdkType.getInstance()) {
        public void updateDataModel() {
            super.updateDataModel();
            moduleBuilder.setModuleJdk(getJdk());
        }
    }};
}
 
开发者ID:shekn-itrtch,项目名称:DLangPlugin,代码行数:13,代码来源:DLangModuleType.java

示例3: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
public ModuleWizardStep[] createWizardSteps(final WizardContext wizardContext,
                                            final HaxeModuleBuilder moduleBuilder,
                                            final ModulesProvider modulesProvider) {
  return new ModuleWizardStep[]{new ProjectJdkForModuleStep(wizardContext, HaxeSdkType.getInstance()) {
    public void updateDataModel() {
      super.updateDataModel();
      moduleBuilder.setModuleJdk(getJdk());
      // TODO: generate Main class as entry point for new projects
    }
  }};
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:12,代码来源:HaxeModuleType.java

示例4: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
@Override
public List<ModuleWizardStep> createWizardSteps(ProjectFromSourcesBuilder builder, ProjectDescriptor projectDescriptor, Icon stepIcon) {
  HaxeModuleInsight moduleInsight =
    new HaxeModuleInsight(new DelegatingProgressIndicator(), builder.getExistingModuleNames(), builder.getExistingProjectLibraryNames());
  final List<ModuleWizardStep> steps = new ArrayList<ModuleWizardStep>();
  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 ProjectJdkForModuleStep(builder.getContext(), HaxeSdkType.getInstance()));
  return steps;
}
 
开发者ID:HaxeFoundation,项目名称:intellij-haxe,代码行数:13,代码来源:HaxeProjectStructureDetector.java

示例5: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
@Override
public List<ModuleWizardStep> createWizardSteps(ProjectFromSourcesBuilder builder,
                                                ProjectDescriptor projectDescriptor,
                                                Icon stepIcon) {
  List<ModuleWizardStep> steps = new ArrayList<ModuleWizardStep>();
  steps.add(new ProjectJdkForModuleStep(builder.getContext(), DeftSdkType.getInstance()));
  return steps;
}
 
开发者ID:dylan-foundry,项目名称:DeftIDEA,代码行数:9,代码来源:DeftProjectStructureDetector.java

示例6: createWizardSteps

import com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep; //导入依赖的package包/类
@NotNull
public ModuleWizardStep[] createWizardSteps(@NotNull final WizardContext wizardContext,
                                            @NotNull final DeftModuleBuilder moduleBuilder,
                                            @NotNull final ModulesProvider modulesProvider) {
  return new ModuleWizardStep[]{new ProjectJdkForModuleStep(wizardContext, DeftSdkType.getInstance()) {
    public void updateDataModel() {
      super.updateDataModel();
      moduleBuilder.setModuleJdk(getJdk());
    }
  }};
}
 
开发者ID:dylan-foundry,项目名称:DeftIDEA,代码行数:12,代码来源:DeftModuleType.java


注:本文中的com.intellij.ide.util.projectWizard.ProjectJdkForModuleStep类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。