There are two main use cases for this method. The first is to save settings for the next time the wizard is visited. The other is to perform some checks or do some loading that is too expensive to do every time isPageComplete() is called. For example a database wizard page might try to connect to the database in this method rather than isPageComplete() because it is such an expensive method to call.
Remember that this method is only called when moving forward.
If an expensive method is called make sure to run it in the container:
getContainer().run(false, cancelable, runnable);Remember to pass in false as the fork parameter so that it blocks until the method has completed executing. @see WorkflowWizardPage#leavingPage() @return true if it is acceptable to leave the page false if the page must not be left
|
|