question: public void unlockUI ( ProcessInfo pi ) { boolean notPrint = pi != null && pi . getAD_Process_ID ( ) != m_curTab . getAD_Process_ID ( ) && pi . isReportingProcess ( ) == false ; setBusy ( false , notPrint ) ; if ( notPrint ) { m_curTab . dataRefresh ( ) ; if ( pi . isTimeout ( ) ) Env . setContext ( m_ctx , m_curWindowNo , "Processed" , "Y" ) ; m_curGC . dynamicDisplay ( 0 ) ; setStatusLine ( pi . getSummary ( ) , pi . isError ( ) ) ; if ( pi . isError ( ) ) ADialog . error ( m_curWindowNo , this , null , pi . getSummary ( ) ) ; ProcessInfoUtil . setLogFromDB ( pi ) ; String logInfo = pi . getLogInfo ( ) ; if ( logInfo . length ( ) > 0 ) ADialog . info ( m_curWindowNo , this , Env . getHeader ( m_ctx , m_curWindowNo ) , pi . getTitle ( ) , logInfo ) ; } else { setStatusLine ( pi . getSummary ( ) , pi . isError ( ) ) ; if ( pi . isError ( ) ) ADialog . error ( m_curWindowNo , this , null , pi . getSummary ( ) ) ; } }
target:  Unlock User Interface. Called from the Worker when processing is done