mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Template project: better text on progress indicator
This commit is contained in:
@@ -37,7 +37,6 @@ import com.intellij.openapi.progress.ProgressManager;
|
||||
import com.intellij.openapi.progress.Task;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.project.ex.ProjectManagerEx;
|
||||
import com.intellij.openapi.project.impl.ProjectMacrosUtil;
|
||||
import com.intellij.openapi.roots.ModifiableRootModel;
|
||||
import com.intellij.openapi.roots.ModuleRootManager;
|
||||
import com.intellij.openapi.roots.ui.configuration.ModulesProvider;
|
||||
@@ -285,6 +284,10 @@ public class TemplateModuleBuilder extends ModuleBuilder {
|
||||
}
|
||||
});
|
||||
|
||||
if(pI != null) {
|
||||
pI.setText("Refreshing...");
|
||||
}
|
||||
|
||||
String iml = ContainerUtil.find(dir.list(), s -> s.endsWith(".iml"));
|
||||
if (moduleMode) {
|
||||
File from = new File(path, iml);
|
||||
|
||||
Reference in New Issue
Block a user