public interface ModalityInvokator
Application.getInvokator()
Modifier and Type | Method and Description |
---|---|
ActionCallback |
invokeLater(java.lang.Runnable runnable)
Causes
runnable.run() to be executed asynchronously on the
AWT event dispatching thread. |
ActionCallback |
invokeLater(java.lang.Runnable runnable,
Condition<?> expired) |
ActionCallback |
invokeLater(java.lang.Runnable runnable,
ModalityState state)
Causes
runnable.run() to be executed asynchronously on the
AWT event dispatching thread, when the IDE is in the specified modality
state. |
ActionCallback |
invokeLater(java.lang.Runnable runnable,
ModalityState state,
Condition<?> expired) |
ActionCallback invokeLater(java.lang.Runnable runnable)
runnable.run()
to be executed asynchronously on the
AWT event dispatching thread. This will happen after all
pending AWT events have been processed.runnable
- the runnable to execute.ActionCallback invokeLater(java.lang.Runnable runnable, Condition<?> expired)
ActionCallback invokeLater(java.lang.Runnable runnable, ModalityState state)
runnable.run()
to be executed asynchronously on the
AWT event dispatching thread, when the IDE is in the specified modality
state.runnable
- the runnable to execute.state
- the state in which the runnable will be executed.ActionCallback invokeLater(java.lang.Runnable runnable, ModalityState state, Condition<?> expired)