コード例 #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));
 }