@Nullable
  @Override
  protected ValidationInfo doValidate() {
    final String text = myNameField.getText().trim();
    InputValidator[] validators = {myInputValidator, myExtraValidators.get(getKindCombo().getSelectedName())};
    for (InputValidator validator : validators) {
      if (validator != null) {
        final boolean canClose = validator.canClose(text);
        if (!canClose) {
          String errorText = LangBundle.message("incorrect.name");
          if (validator instanceof InputValidatorEx) {
            String message = ((InputValidatorEx)validator).getErrorText(text);
            if (message != null) {
              errorText = message;
            }
          }
          return new ValidationInfo(errorText, myNameField);
        }
      }
    }
    return super.doValidate();
  }
@Nullable
  @Override
  protected ValidationInfo doValidate()