boolean (AnActionEvent e) { if(!MavenActionUtil.hasProject(e.getDataContext())) return false; final MavenProjectsManager projectsManager = MavenActionUtil.getProjectsManager(e.getDataContext()); return projectsManager != null && projectsManager.isMavenizedProject(); }