From 355ff836360f3b8469eaa461eda36052677c1f72 Mon Sep 17 00:00:00 2001
From: martinRenou <martin.renou@isae.fr>
Date: Tue, 22 Aug 2017 14:51:47 +0100
Subject: [PATCH] Add after_execution method for the UIHooks

---
 force_bdss/ui_hooks/base_ui_hooks_manager.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/force_bdss/ui_hooks/base_ui_hooks_manager.py b/force_bdss/ui_hooks/base_ui_hooks_manager.py
index e24e5d9..a1c9228 100644
--- a/force_bdss/ui_hooks/base_ui_hooks_manager.py
+++ b/force_bdss/ui_hooks/base_ui_hooks_manager.py
@@ -29,6 +29,16 @@ class BaseUIHooksManager(HasStrictTraits):
             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):
         """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
-- 
GitLab