Esempio n. 1
0
 public void addRequest(
     @NotNull Runnable request, long delayMillis, @Nullable final ModalityState modalityState) {
   LOG.assertTrue(myThreadToUse == ThreadToUse.SWING_THREAD);
   _addRequest(request, delayMillis, modalityState);
 }
Esempio n. 2
0
 public void addRequest(@NotNull Runnable request, int delayMillis) {
   _addRequest(
       request,
       delayMillis,
       myThreadToUse == ThreadToUse.SWING_THREAD ? ModalityState.current() : null);
 }
Esempio n. 3
0
 public void addComponentRequest(@NotNull Runnable request, long delayMillis) {
   assert myActivationComponent != null;
   _addRequest(request, delayMillis, ModalityState.stateForComponent(myActivationComponent));
 }
Esempio n. 4
0
 public void addComponentRequest(Runnable request, int delay) {
   assert myActivationComponent != null;
   _addRequest(request, delay, ModalityState.stateForComponent(myActivationComponent));
 }