Package org.eclipse.e4.ui.di
Class UISynchronize
- java.lang.Object
-
- org.eclipse.e4.ui.di.UISynchronize
-
public abstract class UISynchronize extends Object
Widget toolkit abstract to synchronize back into the UI-Thread from other threads- Since:
- 1.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description UISynchronize()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
asyncExec(Runnable runnable)
Schedules the runnable on the UI-Thread for execution and returns immediatelyabstract void
syncExec(Runnable runnable)
Executes the runnable on the UI-Thread and blocks until the runnable is finished
-
-
-
Method Detail
-
syncExec
public abstract void syncExec(Runnable runnable)
Executes the runnable on the UI-Thread and blocks until the runnable is finished- Parameters:
runnable
- the runnable to execute
-
asyncExec
public abstract void asyncExec(Runnable runnable)
Schedules the runnable on the UI-Thread for execution and returns immediately- Parameters:
runnable
- the runnable to execute
-
-