@Override
  protected ValidationInfo doValidate() {
    final String message = validateAndCommitData();
    getRefactorAction().setEnabled(message == null);
    getPreviewAction().setEnabled(message == null);
    if (message != null) return new ValidationInfo(message);
    return super.doValidate();
  }
@Override
  protected ValidationInfo doValidate()