void (@NotNull AnActionEvent e, boolean state) { final MavenProjectsManager projectsManager = MavenActionUtil.getProjectsManager(e.getDataContext()); if (projectsManager != null) { projectsManager.getGeneralSettings().setWorkOffline(state); } }