public void setErrorLevel(@NotNull ExternalProjectsStructure.ErrorLevel level, String... errors) {
    if (myErrorLevel == level) return;
    myErrorLevel = level;

    if (errors.length == 0) {
      myErrors = NO_ERRORS_LIST;
    }
    else {
      myErrors = Arrays.asList(errors);
    }
    myExternalProjectsView.updateUpTo(this);
  }
public void setErrorLevel(@NotNull ExternalProjectsStructure.ErrorLevel level, String... errors)