static void interactWithEdtProgress() {
    ProgressIndicator indicator = ProgressIndicatorProvider.getGlobalProgressIndicator();
    if (indicator instanceof PingProgress && EDT.isCurrentThreadEdt()) {
      ((PingProgress)indicator).interact();
    }
  }
static void interactWithEdtProgress()