[rider] refactoring footer creation for RecentFiles and Text contributors

GitOrigin-RevId: c114bb87ce255a0e849d98409dc2aedf020961c5
This commit is contained in:
Boris Krylov
2024-03-28 23:53:44 +00:00
committed by intellij-monorepo-bot
parent 3f37f62792
commit 0afe84be2e
2 changed files with 8 additions and 8 deletions
@@ -49,13 +49,13 @@ import java.lang.ref.WeakReference
import javax.swing.ListCellRenderer
@ApiStatus.Internal
open class TextSearchContributor(val event: AnActionEvent) : WeightedSearchEverywhereContributor<SearchEverywhereItem>,
SearchFieldActionsContributor,
SearchEverywhereExtendedInfoProvider,
PossibleSlowContributor,
SearchEverywhereEmptyTextProvider,
SearchEverywherePreviewProvider,
DumbAware, ScopeSupporting, Disposable {
class TextSearchContributor(val event: AnActionEvent) : WeightedSearchEverywhereContributor<SearchEverywhereItem>,
SearchFieldActionsContributor,
SearchEverywhereExtendedInfoProvider,
PossibleSlowContributor,
SearchEverywhereEmptyTextProvider,
SearchEverywherePreviewProvider,
DumbAware, ScopeSupporting, Disposable {
private val project = event.getRequiredData(CommonDataKeys.PROJECT)
private val model = FindManager.getInstance(project).findInProjectModel
@@ -24,7 +24,7 @@ import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
public class RecentFilesSEContributor extends FileSearchEverywhereContributor {
public final class RecentFilesSEContributor extends FileSearchEverywhereContributor {
public RecentFilesSEContributor(@NotNull AnActionEvent event) {
super(event);