void (@NotNull AnActionEvent e) { SearchSession session = e.getData(SearchSession.KEY); if (session == null) { e.getPresentation().setEnabled(false); return; } e.getPresentation().setIcon(FILTER_ICON.getLiveIndicatorIcon(enableLiveIndicator(session.getFindModel()))); }