Author: bugman Date: Fri Jul 1 20:48:57 2011 New Revision: 13400 URL: http://svn.gna.org/viewcvs/relax?rev=13400&view=rev Log: Created the on_completion() wizard method which is executed after running on_execute(). Modified: branches/gui_testing/gui/wizard.py Modified: branches/gui_testing/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13400&r1=13399&r2=13400&view=diff ============================================================================== --- branches/gui_testing/gui/wizard.py (original) +++ branches/gui_testing/gui/wizard.py Fri Jul 1 20:48:57 2011 @@ -255,6 +255,8 @@ self.on_execute() except AllRelaxErrors, instance: error_message(instance.text, instance.__class__.__name__) + finally: + self.on_completion() # Execute the on_apply() method. self.on_apply() @@ -653,6 +655,13 @@ self.on_display() + def on_completion(self): + """To be over-ridden if an action is to be performed just after executing self.on_execute(). + + This method is called just after self.on_execute() has been called + """ + + def on_display(self): """To be over-ridden if an action is to be performed prior to displaying the page.