@Override
  protected boolean doIsSelected(AnActionEvent e) {
    final MavenProjectsManager projectsManager = MavenActionUtil.getProjectsManager(e.getDataContext());
    return projectsManager != null && projectsManager.getGeneralSettings().isWorkOffline();
  }
@Override
  protected boolean doIsSelected(AnActionEvent e)