private void updateControls() {
    final boolean nameValid = myValidator.isNameValid(getName(), getProject());
    setOKActionEnabled(nameValid);
    setErrorText(!nameValid ? PyPsiBundle.message("refactoring.introduce.name.error") : null, myNameComboBox);
  }
private void updateControls()