Skip to content
Snippets Groups Projects

Add after_execution method for the UIHooks

Merged Adham Hashibon requested to merge add_after_execution_method into master
1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
@@ -29,6 +29,16 @@ class BaseUIHooksManager(HasStrictTraits):
@@ -29,6 +29,16 @@ class BaseUIHooksManager(HasStrictTraits):
The pyface envisage task.
The pyface envisage task.
"""
"""
 
def after_execution(self, task):
 
"""Hook that is called after execution of a given evaluation.
 
Gives a chance to perform operations after the calculation finished.
 
 
Parameters
 
----------
 
task:
 
The pyface envisage task.
 
"""
 
def before_save(self, task):
def before_save(self, task):
"""Hook that is called just before saving a given model to disk
"""Hook that is called just before saving a given model to disk
in response to a user action. This does not apply to saving of
in response to a user action. This does not apply to saving of
Loading