mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
external system: external project manager can be initialized in dumb mode
This commit is contained in:
+1
-2
@@ -47,8 +47,6 @@ public class ExternalSystemStartupActivity implements StartupActivity {
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void run() {
|
||||
ExternalProjectsManager.getInstance(project).init();
|
||||
|
||||
for (ExternalSystemManager<?, ?, ?, ?, ?> manager : ExternalSystemApiUtil.getAllManagers()) {
|
||||
if (manager instanceof StartupActivity) {
|
||||
((StartupActivity)manager).runActivity(project);
|
||||
@@ -76,6 +74,7 @@ public class ExternalSystemStartupActivity implements StartupActivity {
|
||||
}
|
||||
};
|
||||
|
||||
ExternalProjectsManager.getInstance(project).init();
|
||||
DumbService.getInstance(project).runWhenSmart(DisposeAwareRunnable.create(task, project));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user