mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-232707 refactor: panel is always PluginsGroupComponentWithProgress
it seems it enabled asynchronous update mode, and it is very unlikely anyone would like to use synchronous mode, so it does not make much sense to support sync mode GitOrigin-RevId: 44caafe9d6b29e97c97cc8f51fa08e6aafca4481
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f6f425a36d
commit
eed5a790b5
@@ -320,7 +320,7 @@ class InstalledPluginsTab extends PluginsTab {
|
||||
MultiSelectionEventHandler eventHandler = new MultiSelectionEventHandler();
|
||||
installedController.setSearchResultEventHandler(eventHandler);
|
||||
|
||||
PluginsGroupComponent panel = new PluginsGroupComponentWithProgress(eventHandler) {
|
||||
PluginsGroupComponentWithProgress panel = new PluginsGroupComponentWithProgress(eventHandler) {
|
||||
@Override
|
||||
protected @NotNull ListPluginComponent createListComponent(@NotNull PluginUiModel model,
|
||||
@NotNull PluginsGroup group,
|
||||
@@ -613,7 +613,7 @@ class InstalledPluginsTab extends PluginsTab {
|
||||
private final @NotNull Consumer<? super PluginsGroupComponent> mySelectionListener;
|
||||
|
||||
InstalledTabSearchResultPanel(SearchUpDownPopupController installedController,
|
||||
PluginsGroupComponent panel,
|
||||
PluginsGroupComponentWithProgress panel,
|
||||
@NotNull Consumer<? super PluginsGroupComponent> selectionListener) {
|
||||
super(installedController, panel, false);
|
||||
mySelectionListener = selectionListener;
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
public abstract class SearchResultPanel {
|
||||
public final @NotNull SearchPopupController controller;
|
||||
|
||||
protected final PluginsGroupComponent myPanel;
|
||||
protected final @NotNull PluginsGroupComponentWithProgress myPanel;
|
||||
private JScrollBar myVerticalScrollBar;
|
||||
private PluginsGroup myGroup;
|
||||
private @NotNull String myQuery = "";
|
||||
@@ -38,7 +38,7 @@ public abstract class SearchResultPanel {
|
||||
protected Runnable myPostFillGroupCallback;
|
||||
|
||||
public SearchResultPanel(@NotNull SearchPopupController controller,
|
||||
@NotNull PluginsGroupComponent panel,
|
||||
@NotNull PluginsGroupComponentWithProgress panel,
|
||||
boolean isMarketplace) {
|
||||
this.controller = controller;
|
||||
myPanel = panel;
|
||||
|
||||
Reference in New Issue
Block a user