* more responsive implementation of lock/unlock.
This commit is contained in:
parent
7f3483d363
commit
7e5ad8a427
|
@ -254,8 +254,11 @@ public class ProcessModalDialog extends Window implements EventListener
|
|||
} // init
|
||||
|
||||
public void startProcess()
|
||||
{
|
||||
{
|
||||
m_pi.setPrintPreview(true);
|
||||
if (m_ASyncProcess != null) {
|
||||
m_ASyncProcess.lockUI(m_pi);
|
||||
}
|
||||
ProcessCtl.process(m_ASyncProcess, m_WindowNo, parameterPanel, m_pi, null);
|
||||
dispose();
|
||||
}
|
||||
|
|
|
@ -1201,6 +1201,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
}
|
||||
|
||||
public void lockUI(ProcessInfo pi) {
|
||||
if (m_uiLocked) return;
|
||||
|
||||
m_uiLocked = true;
|
||||
boolean notPrint = pi != null
|
||||
&& pi.getAD_Process_ID() != curTab.getAD_Process_ID()
|
||||
|
|
Loading…
Reference in New Issue