IJPL-232707 refactor: pass pluginModelFacade to InstalledTabSearchResultPanel

GitOrigin-RevId: fd497d3b795590f9299495993fbed1683998504f
This commit is contained in:
Vadim Salavatov
2026-02-12 20:28:06 +00:00
committed by intellij-monorepo-bot
parent 9df3ab77bd
commit 0b408d5619
@@ -332,7 +332,14 @@ class InstalledPluginsTab extends PluginsTab {
panel.setSelectionListener(selectionListener);
registerCopyProvider(panel);
myInstalledSearchPanel = new InstalledTabSearchResultPanel(myCoroutineScope, installedController, panel, selectionListener, mySearchInMarketplaceTabHandler);
myInstalledSearchPanel = new InstalledTabSearchResultPanel(
myCoroutineScope,
installedController,
panel,
selectionListener,
mySearchInMarketplaceTabHandler,
myPluginModelFacade
);
return myInstalledSearchPanel;
}
@@ -612,15 +619,18 @@ class InstalledPluginsTab extends PluginsTab {
private class InstalledTabSearchResultPanel extends SearchResultPanel {
private final @NotNull Consumer<? super PluginsGroupComponent> mySelectionListener;
private final @Nullable Consumer<String> mySearchInMarketplaceTabHandler;
private final @NotNull PluginModelFacade myPluginModelFacade;
InstalledTabSearchResultPanel(CoroutineScope coroutineScope,
SearchUpDownPopupController installedController,
PluginsGroupComponentWithProgress panel,
@NotNull Consumer<? super PluginsGroupComponent> selectionListener,
@Nullable Consumer<String> searchInMarketplaceTabHandler) {
@Nullable Consumer<String> searchInMarketplaceTabHandler,
@NotNull PluginModelFacade pluginModelFacade) {
super(coroutineScope, installedController, panel, false);
mySelectionListener = selectionListener;
mySearchInMarketplaceTabHandler = searchInMarketplaceTabHandler;
myPluginModelFacade = pluginModelFacade;
}
@Override