void (@NotNull AnActionEvent e) { MavenProjectsManager manager = MavenActionUtil.getProjectsManager(e.getDataContext()); if (manager == null) return; manager.setExplicitProfiles(MavenExplicitProfiles.NONE); }