mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
drop caches in GotoSymbolModel2
on cr-IDEA-952 GitOrigin-RevId: 0a7f851bffeaf4f36ef78b09ccd1b7a65ff9a180
This commit is contained in:
committed by
intellij-monorepo-bot
parent
63368bff18
commit
1de02e6193
@@ -26,11 +26,20 @@ public class GotoSymbolModel2 extends FilteringGotoByModel<Language> {
|
||||
public GotoSymbolModel2(@NotNull Project project, @NotNull ChooseByNameContributor[] contributors) {
|
||||
super(project, contributors);
|
||||
myAllContributors = false;
|
||||
addEpListener(project);
|
||||
}
|
||||
|
||||
public GotoSymbolModel2(@NotNull Project project) {
|
||||
super(project, new ChooseByNameContributor[0]);
|
||||
myAllContributors = true;
|
||||
addEpListener(project);
|
||||
}
|
||||
|
||||
private void addEpListener(@NotNull Project project) {
|
||||
ChooseByNameContributor.CLASS_EP_NAME.addExtensionPointListener(
|
||||
(e, pd) -> { mySeparators = null; },
|
||||
(e, pd) -> { mySeparators = null; },
|
||||
project);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user