Package panamagl.offscreen
Class ThreadRedirect_SWT
java.lang.Object
panamagl.offscreen.ThreadRedirect_SWT
- All Implemented Interfaces:
panamagl.offscreen.ThreadRedirect
Redirects execution to the SWT UI thread via
Display.asyncExec(Runnable).
If already on the display thread, runs synchronously to avoid unnecessary scheduling.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
display
protected final org.eclipse.swt.widgets.Display display
-
-
Constructor Details
-
ThreadRedirect_SWT
public ThreadRedirect_SWT(org.eclipse.swt.widgets.Display display)
-
-
Method Details
-
run
- Specified by:
runin interfacepanamagl.offscreen.ThreadRedirect
-