@Override
  public void checkCancelled() throws ProcessCanceledException {
    ProgressIndicator indicator = chooseNotNull(myIndicator, ProgressManager.getInstance().getProgressIndicator());

    if (indicator != null) {
      indicator.checkCanceled();
    }
  }
@Override
  public void checkCancelled()