From 9df3ab77bdd9f47e49856f334900612fe9292009 Mon Sep 17 00:00:00 2001 From: Vadim Salavatov Date: Wed, 11 Feb 2026 18:38:33 +0100 Subject: [PATCH] IJPL-232707 refactor: pass searchInMarketplaceTabHandler to InstalledTabSearchResultPanel GitOrigin-RevId: 6072aedbcb93b01f844f297558ae442450e0bec9 --- .../src/com/intellij/ide/plugins/InstalledPluginsTab.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java b/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java index 2d9388270cd8..158ea2079262 100644 --- a/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java +++ b/platform/platform-impl/src/com/intellij/ide/plugins/InstalledPluginsTab.java @@ -332,7 +332,7 @@ class InstalledPluginsTab extends PluginsTab { panel.setSelectionListener(selectionListener); registerCopyProvider(panel); - myInstalledSearchPanel = new InstalledTabSearchResultPanel(myCoroutineScope, installedController, panel, selectionListener); + myInstalledSearchPanel = new InstalledTabSearchResultPanel(myCoroutineScope, installedController, panel, selectionListener, mySearchInMarketplaceTabHandler); return myInstalledSearchPanel; } @@ -611,13 +611,16 @@ class InstalledPluginsTab extends PluginsTab { private class InstalledTabSearchResultPanel extends SearchResultPanel { private final @NotNull Consumer mySelectionListener; + private final @Nullable Consumer mySearchInMarketplaceTabHandler; InstalledTabSearchResultPanel(CoroutineScope coroutineScope, SearchUpDownPopupController installedController, PluginsGroupComponentWithProgress panel, - @NotNull Consumer selectionListener) { + @NotNull Consumer selectionListener, + @Nullable Consumer searchInMarketplaceTabHandler) { super(coroutineScope, installedController, panel, false); mySelectionListener = selectionListener; + mySearchInMarketplaceTabHandler = searchInMarketplaceTabHandler; } @Override