@NotNull
  @Override
  public ValidationResult validate(@NotNull String baseDirPath) {
    String message = LangBundle.message("dialog.message.invalid.settings");
    for (WizardInputField field : myTemplate.getInputFields()) {
      try {
        if (field.validate()) {
          continue;
        }
      }
      catch (ConfigurationException e) {
        message = e.getMessage();
      }
      return new ValidationResult(message);
    }

    ValidationResult result = myTemplate.validate(baseDirPath);
    if(result != null){
      return result;
    }

    return ValidationResult.OK;
  }
@NotNull
  @Override
  public ValidationResult validate(@NotNull String baseDirPath)