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