Package org.adempiere.webui.apps
Class DesktopRunnable
- java.lang.Object
-
- org.adempiere.webui.apps.DesktopRunnable
-
- All Implemented Interfaces:
Runnable
public class DesktopRunnable extends Object implements Runnable
If your background task need access to desktop, wrap your runnable with this, i.e new DesktopRunnable(yourRunnable, desktop). You can then use AEnv.getDesktop() in your runnable to get access to desktop.- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description DesktopRunnable(Runnable runnable, org.zkoss.zk.ui.Desktop desktop)
-