Abstract class to log progress of a contributed tool action; the information will be displayed in a view that will remain open until the user decides to close it.
| |||
|
|
*nomads, ecConstant |
|
com.pvx.pvxdoc.createDocs, ecSearchLogViewUI, ecStyleCheckRun, stripTrailing_UI |
| PROPERTY theCaption$, theDescription$ |
Set variables used to identify the panel View |
| PROPERTY screen_id$="PROGRESSLOG" |
Set Panel / Library for Progress log |
| PROPERTY screen_lib$="com.pvx.util.en" |
| FUNCTION checkCancel() | ||||||
Check for user pressing CANCEL button | ||||||
| ||||||
| FUNCTION createLogFile(aNamePfx$) | ||||||
| FUNCTION createLogFile(aNamePfx$, btnText$) | ||||||
Create a temporary log file to be updated as the process executes; the log file will be deleted upon exit of task | ||||||
| ||||||
| ||||||
| FUNCTION disable_cancel() | ||||||
Method that can be executed by SUB-CLASS to disable the 'Cancel' button | ||||||
| FUNCTION enable_cancel() | ||||||
Method that is executed as part if initialization in SUB-CLASS to enable the 'Cancel' button | ||||||
| FUNCTION enable_special(sLabel$) | ||||||
Method to enable the 'Special' button | ||||||
| ||||||
| FUNCTION writeLog(aString$) | ||||||
| FUNCTION writeLog(aString$, aLogFile$) | ||||||
Write text to progress log display and log file | ||||||
| ||||||
| FUNCTION writeLogFile(aString$) | ||||||
| FUNCTION writeLogFile(aString$, aLogFile$) | ||||||
Write text to log file only | ||||||
| ||||||
| FUNCTION LOCAL b_close() | ||||||
Method that is executed when the 'Close' button is pressed. | ||||||
| FUNCTION LOCAL b_special() | ||||||
Method that is executed when the 'Special' button is pressed. | ||||||
| FUNCTION LOCAL disable_special() | ||||||
Method that can be executed by SUB-CLASS to disable the 'Special' button | ||||||
| FUNCTION LOCAL doWork() | ||||||
This method is called by the PostLoad() method from the com.pvx.util.progress class to perform work for this tool; this tool can use the WriteLog() method to show or update progress as the work is performed | ||||||
| ||||||
| FUNCTION LOCAL onExit() | ||||||
Clean-up required for this panel during exit. | ||||||
| FUNCTION LOCAL PostLoad() | ||||||
NOMADS method that is accessed after the panel has been loaded | ||||||
| FUNCTION LOCAL PreLoad() | ||||||
NOMADS method that is accessed before the panel is loaded | ||||||
| FUNCTION LOCAL setDescription(aCaption$, aDescription$) | ||||||
Set description to be displayed for the log | ||||||
| ||||||
| FUNCTION LOCAL updateView() | ||||||
update information in the view used to display the progress log | ||||||
| FUNCTION LOCAL workDone() | ||||||
Method that is called to indicate that all work is completed for the task |
|
isFALSE, isTRUE, isYES$, isNO$, chkOFF$, chkON$, chkGRAYED$, errOBJECT, msgYES$, msgNO$, msgCANCEL$, msgOK$, msgRETRY$, msgABORT$, msgIGNORE$, msgNOTONFILE$, msgTIMEOUT$, msgDISABLE, msgACTIVE, retFAILURE, retSUCCESS, retNEW, retWARNING, retCANCEL, retYES, retNO, typALPHANUM, typZEROFILL, typCHARNUM, typMASTERNUM, typALPHANUMNF, typMASTERNUMC, typALPHA$, typNUMBERS$, typALPHANUM$, typALPHANUMNF$, typCHARNUM$, typMASTERNUM$, typMASTERNUMCLEN, LastErrorMsg$, LastErrorNum$ |
|
element$(), isALPHA(), isDATE(), isNUMERIC(), ParseString(), Position(), QUO$() |
|