IDEMPIERE-309 Process UI: Add ask and file download dialog support
This commit is contained in:
parent
59eefcc345
commit
b6406e5f5e
|
@ -27,7 +27,7 @@ import java.util.StringTokenizer;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import org.adempiere.exceptions.FillMandatoryException;
|
import org.adempiere.exceptions.FillMandatoryException;
|
||||||
import org.adempiere.util.IProcessMonitor;
|
import org.adempiere.util.IProcessUI;
|
||||||
import org.compiere.process.SvrProcess;
|
import org.compiere.process.SvrProcess;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Language;
|
import org.compiere.util.Language;
|
||||||
|
@ -233,7 +233,7 @@ public class MYear extends X_C_Year
|
||||||
cal.set(Calendar.MILLISECOND, 0);
|
cal.set(Calendar.MILLISECOND, 0);
|
||||||
|
|
||||||
//
|
//
|
||||||
IProcessMonitor processMonitor = Env.getProcessMonitor(getCtx());
|
IProcessUI processMonitor = Env.getProcessUI(getCtx());
|
||||||
for (int month = 0; month < 12; month++)
|
for (int month = 0; month < 12; month++)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ import javax.swing.JFrame;
|
||||||
|
|
||||||
import org.adempiere.base.Core;
|
import org.adempiere.base.Core;
|
||||||
import org.adempiere.base.IResourceFinder;
|
import org.adempiere.base.IResourceFinder;
|
||||||
import org.adempiere.util.IProcessMonitor;
|
import org.adempiere.util.IProcessUI;
|
||||||
import org.adempiere.util.ServerContextProvider;
|
import org.adempiere.util.ServerContextProvider;
|
||||||
import org.compiere.db.CConnection;
|
import org.compiere.db.CConnection;
|
||||||
import org.compiere.model.GridWindowVO;
|
import org.compiere.model.GridWindowVO;
|
||||||
|
@ -1695,9 +1695,9 @@ public final class Env
|
||||||
} // getWindow
|
} // getWindow
|
||||||
|
|
||||||
//Current Process
|
//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)
|
public static ProcessInfo getProcessInfo(Properties ctx)
|
||||||
|
|
Loading…
Reference in New Issue