void (@NotNull List<? extends SearchEverywhereFoundElementInfo> list) { if (mySearchProgressIndicator == null || mySearchProgressIndicator.isCanceled()) return; list.forEach(info -> myListModel.removeElement(info.getElement(), info.getContributor())); myExternalSearchListeners.forEach(listener -> listener.elementsRemoved(list)); }