public void addRequest(final Runnable runnable) {
    clear();
    myAlarm.addRequest(() -> {
      if (myRunState && myInitialize && !myDesigner.isProjectClosed()) {
        runnable.run();
      }
    }, myDelayMillis, ModalityState.stateForComponent(myDesigner));
  }
public void addRequest(final Runnable runnable)