]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_IModule.h
Salome HOME
Commit of the current operation if the preselection is activated.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.h
index bf1675bfaa9e4ac32f9ec5dc7e8fe7ed0073b6ea..018980bdbc6d8213218c6e2347977868c396f91e 100644 (file)
@@ -53,6 +53,15 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
   /// \param theOperation a resumed operation\r
   virtual void operationResumed(ModuleBase_Operation* theOperation) {}\r
 \r
+  /// Realizes some functionality by an operation stop\r
+  virtual void operationStopped(ModuleBase_Operation* theOperation) {}\r
+\r
+  /// Realizes some functionality by an operation commit\r
+  virtual void operationCommitted(ModuleBase_Operation* theOperation) {}\r
+\r
+  /// Realizes some functionality by an operation abort\r
+  virtual void operationAborted(ModuleBase_Operation* theOperation) {}\r
+\r
   /// Called when it is necessary to update a command state (enable or disable it)\r
   //virtual bool isFeatureEnabled(const QString& theCmdId) const = 0;\r
 \r
@@ -74,16 +83,6 @@ public slots:
   void onFeatureTriggered();\r
 \r
 protected slots:\r
-  /// SLOT, that is called after the operation is stopped. Switched off the modfications performed\r
-  /// by the operation start\r
-  virtual void onOperationStopped(ModuleBase_Operation* theOperation) {}\r
-\r
-\r
-  virtual void onOperationComitted(ModuleBase_Operation* theOperation) {}\r
-\r
-  virtual void onOperationAborted(ModuleBase_Operation* theOperation) {}\r
-\r
-\r
   /// Called on selection changed event\r
   virtual void onSelectionChanged() {}\r
 \r