|
16 | 16 |
|
17 | 17 | package consulo.csharp.impl.libraryAnalyzer;
|
18 | 18 |
|
19 |
| -import consulo.application.ApplicationManager; |
20 | 19 | import consulo.application.eap.EarlyAccessProgramDescriptor;
|
21 | 20 | import consulo.application.eap.EarlyAccessProgramManager;
|
22 | 21 | import consulo.component.messagebus.MessageBusConnection;
|
|
28 | 27 | import consulo.language.util.ModuleUtilCore;
|
29 | 28 | import consulo.module.Module;
|
30 | 29 | import consulo.module.ModuleManager;
|
31 |
| -import consulo.module.extension.ModuleExtension; |
32 |
| -import consulo.module.extension.event.ModuleExtensionChangeListener; |
33 | 30 | import consulo.project.Project;
|
34 | 31 | import consulo.project.event.DumbModeListener;
|
35 | 32 | import consulo.util.collection.MultiMap;
|
36 | 33 | import consulo.util.lang.StringUtil;
|
| 34 | +import jakarta.annotation.Nonnull; |
37 | 35 | import jakarta.inject.Inject;
|
38 | 36 | import jakarta.inject.Singleton;
|
39 | 37 |
|
40 |
| -import jakarta.annotation.Nonnull; |
41 | 38 | import java.io.File;
|
42 | 39 | import java.io.IOException;
|
43 | 40 | import java.util.Collection;
|
@@ -120,24 +117,24 @@ public void enteredDumbMode()
|
120 | 117 | }
|
121 | 118 | });
|
122 | 119 |
|
123 |
| - connect.subscribe(ModuleExtensionChangeListener.class, new ModuleExtensionChangeListener() |
124 |
| - { |
125 |
| - @Override |
126 |
| - public void beforeExtensionChanged(@Nonnull ModuleExtension<?> moduleExtension, @Nonnull final ModuleExtension<?> moduleExtension2) |
127 |
| - { |
128 |
| - if(moduleExtension2 instanceof DotNetSimpleModuleExtension && moduleExtension2.isEnabled()) |
129 |
| - { |
130 |
| - ApplicationManager.getApplication().invokeLater(new Runnable() |
131 |
| - { |
132 |
| - @Override |
133 |
| - public void run() |
134 |
| - { |
135 |
| - runAnalyzerFor((DotNetSimpleModuleExtension) moduleExtension2); |
136 |
| - } |
137 |
| - }); |
138 |
| - } |
139 |
| - } |
140 |
| - }); |
| 120 | +// connect.subscribe(ModuleExtensionChangeListener.class, new ModuleExtensionChangeListener() |
| 121 | +// { |
| 122 | +// @Override |
| 123 | +// public void beforeExtensionChanged(@Nonnull ModuleExtension<?> moduleExtension, @Nonnull final ModuleExtension<?> moduleExtension2) |
| 124 | +// { |
| 125 | +// if(moduleExtension2 instanceof DotNetSimpleModuleExtension && moduleExtension2.isEnabled()) |
| 126 | +// { |
| 127 | +// ApplicationManager.getApplication().invokeLater(new Runnable() |
| 128 | +// { |
| 129 | +// @Override |
| 130 | +// public void run() |
| 131 | +// { |
| 132 | +// runAnalyzerFor((DotNetSimpleModuleExtension) moduleExtension2); |
| 133 | +// } |
| 134 | +// }); |
| 135 | +// } |
| 136 | +// } |
| 137 | +// }); |
141 | 138 |
|
142 | 139 | }
|
143 | 140 |
|
|
0 commit comments