@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    final boolean applicable = getExcludedConfigurationAndFile(e, project) != null;
    e.getPresentation().setEnabledAndVisible(applicable);
  }
@Override
  public void update(@NotNull AnActionEvent e)