void (@NotNull AnActionEvent e) { List<FilePath> files = e.getData(ChangesListView.MISSING_FILES_DATA_KEY); boolean enabled = files != null && !files.isEmpty(); e.getPresentation().setEnabledAndVisible(enabled); }