]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_IModule.h
Salome HOME
Merge branch 'Dev_0.6.1' of newgeom:newgeom into Dev_0.6.1
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.h
index 4216a76dc2f0f03f5839f245601ef457c67d0c9d..e0d693a59a8e8579925e9365db93c716dbb441fe 100644 (file)
@@ -47,6 +47,14 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
   /// \param theCmdId the operation name\r
   virtual void launchOperation(const QString& theCmdId);\r
 \r
+  /// Realizes some functionality by an operation start\r
+  /// \param theOperation a started operation\r
+  virtual void operationStarted(ModuleBase_Operation* theOperation) {}\r
+\r
+  /// Realizes some functionality by an operation resume\r
+  /// \param theOperation a resumed operation\r
+  virtual void operationResumed(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
@@ -68,14 +76,10 @@ public slots:
   void onFeatureTriggered();\r
 \r
 protected slots:\r
-  /// SLOT, that is called after the operation is started. Connect on the focus activated signal\r
-  virtual void onOperationStarted(ModuleBase_Operation* theOperation) {}\r
-  \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
-  virtual void onOperationResumed(ModuleBase_Operation* theOperation) {}\r
 \r
   virtual void onOperationComitted(ModuleBase_Operation* theOperation) {}\r
 \r