boolean (@NotNull AnActionEvent e) { if (!super.isVisible(e)) return false; final ExternalProjectsView projectsView = e.getData(ExternalSystemDataKeys.VIEW); return projectsView == null || GradleConstants.SYSTEM_ID.equals(getSystemId(e)); }