Step and dialog box processing

After a mode is activated, it cycles through a sequence of events collecting inputs from the user and verifying the inputs.

After the user commits each step or dialog box, the mode calls the following methods:

verifyCurrentKeywordValues

The verifyCurrentKeywordValues method calls the verify method for each keyword associated with the current step or dialog box, and the method posts an error dialog box if necessary. The verifyCurrentKeywordValues method returns True if no errors were encountered; otherwise, it returns False and terminates further processing.

doCustomChecks

The doCustomChecks method has an empty implementation in the base class. You can redefine this method to perform any additional checking of keyword values, typically to perform range checking or to check some interdependency between values. The doCustomChecks method should return True if no errors were encountered; otherwise, it should return False so that further command processing will be terminated. The doCustomChecks method is called by the mode during step and dialog box processing and during command processing.