void (@NotNull AnActionEvent e) { final DataContext context = e.getDataContext(); MavenProjectsManager projectsManager = MavenActionUtil.getProjectsManager(context); if(projectsManager == null) return; List<MavenProject> projects = MavenActionUtil.getMavenProjects(context); final Project project = MavenActionUtil.getProject(context); if(project == null) return; if (isIgnoredInSettings(projectsManager, projects)) { ShowSettingsUtil.getInstance() .editConfigurable(project, new MavenIgnoredFilesConfigurable(project)); } else { projectsManager.setIgnoredState(projects, !isIgnored(projectsManager, projects)); } }