本文整理汇总了Java中com.intellij.openapi.roots.ui.configuration.ModulesProvider.EMPTY_MODULES_PROVIDER属性的典型用法代码示例。如果您正苦于以下问题:Java ModulesProvider.EMPTY_MODULES_PROVIDER属性的具体用法?Java ModulesProvider.EMPTY_MODULES_PROVIDER怎么用?Java ModulesProvider.EMPTY_MODULES_PROVIDER使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.intellij.openapi.roots.ui.configuration.ModulesProvider
的用法示例。
在下文中一共展示了ModulesProvider.EMPTY_MODULES_PROVIDER属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createNewProject
public static void createNewProject(Project projectToClose, @Nullable final String defaultPath) {
final boolean proceed = ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() {
public void run() {
ProjectManager.getInstance().getDefaultProject(); //warm up components
}
}, ProjectBundle.message("project.new.wizard.progress.title"), true, null);
if (!proceed) return;
final AddModuleWizard dialog = Registry.is("new.project.wizard")
? new AddModuleWizardPro(null, ModulesProvider.EMPTY_MODULES_PROVIDER, defaultPath)
: new AddModuleWizard(null, ModulesProvider.EMPTY_MODULES_PROVIDER, defaultPath);
dialog.show();
if (!dialog.isOK()) {
return;
}
createFromWizard(dialog, projectToClose);
}
示例2: createNewProject
public static void createNewProject(Project projectToClose, @Nullable final String defaultPath) {
final boolean proceed = ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() {
@Override
public void run() {
ProjectManager.getInstance().getDefaultProject(); //warm up components
}
}, ProjectBundle.message("project.new.wizard.progress.title"), true, null);
if (!proceed) return;
final AddModuleWizard dialog = new AddModuleWizard(null, ModulesProvider.EMPTY_MODULES_PROVIDER, defaultPath);
dialog.show();
if (!dialog.isOK()) {
return;
}
createFromWizard(dialog, projectToClose);
}
示例3: setUp
@Override
public void setUp() throws Exception {
super.setUp();
myBuilder = new ProjectFromSourcesBuilderImpl(new WizardContext(null), ModulesProvider.EMPTY_MODULES_PROVIDER);
}
示例4: createWizard
@Override
protected AbstractProjectWizard createWizard(Project project, File directory) {
return new NewProjectWizard(project, ModulesProvider.EMPTY_MODULES_PROVIDER, directory.getPath());
}
示例5: actionPerformed
public void actionPerformed(AnActionEvent e) {
NewProjectWizard wizard = new NewProjectWizard(null, ModulesProvider.EMPTY_MODULES_PROVIDER, null);
NewProjectUtil.createNewProject(getEventProject(e), wizard);
}
示例6: getAddModuleWizardBasic
private AddModuleWizard getAddModuleWizardBasic() {
return new AddModuleWizard(null, ModulesProvider.EMPTY_MODULES_PROVIDER, null);
}
示例7: getAddModuleWizardPro
private AddModuleWizardPro getAddModuleWizardPro() {
return new AddModuleWizardPro(null, ModulesProvider.EMPTY_MODULES_PROVIDER, null);
}