本文整理汇总了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());
}
}};
}
示例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());
}
}};
}
示例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
}
}};
}
示例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;
}
示例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;
}
示例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());
}
}};
}