IDEMPIERE-309 Process UI: Add ask and file download dialog support

This commit is contained in:
Heng Sin Low 2012-06-20 16:01:15 +08:00
parent 59eefcc345
commit b6406e5f5e
2 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ import java.util.StringTokenizer;
import java.util.logging.Level;
import org.adempiere.exceptions.FillMandatoryException;
import org.adempiere.util.IProcessMonitor;
import org.adempiere.util.IProcessUI;
import org.compiere.process.SvrProcess;
import org.compiere.util.Env;
import org.compiere.util.Language;
@ -233,7 +233,7 @@ public class MYear extends X_C_Year
cal.set(Calendar.MILLISECOND, 0);
//
IProcessMonitor processMonitor = Env.getProcessMonitor(getCtx());
IProcessUI processMonitor = Env.getProcessUI(getCtx());
for (int month = 0; month < 12; month++)
{

View File

@ -47,7 +47,7 @@ import javax.swing.JFrame;
import org.adempiere.base.Core;
import org.adempiere.base.IResourceFinder;
import org.adempiere.util.IProcessMonitor;
import org.adempiere.util.IProcessUI;
import org.adempiere.util.ServerContextProvider;
import org.compiere.db.CConnection;
import org.compiere.model.GridWindowVO;
@ -1695,9 +1695,9 @@ public final class Env
} // getWindow
//Current Process
public static IProcessMonitor getProcessMonitor(Properties ctx)
public static IProcessUI getProcessUI(Properties ctx)
{
return (IProcessMonitor) ctx.get(SvrProcess.PROCESS_MONITOR_CTX_KEY);
return (IProcessUI) ctx.get(SvrProcess.PROCESS_UI_CTX_KEY);
}
public static ProcessInfo getProcessInfo(Properties ctx)