void (@NotNull AnActionEvent e) { searchManager.updateStatusText(); String statusText = searchManager.getStatusText(); JLabel label = (JLabel)e.getPresentation().getClientProperty(COMPONENT_KEY); if (label != null) { label.setText(statusText); label.setVisible(StringUtil.isNotEmpty(statusText)); } }