Salome HOME
The selection problem with an object deactivate:
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.h
index 1d68372056ca961735560524bc0ada42b8c2c029..65a5c5a5a8b66b5b4541c54693604c673f24e928 100644 (file)
@@ -120,6 +120,10 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
   /// \returns true if the action is processed\r
   virtual bool deleteObjects() { return false; };\r
 \r
+  /// Returns a list of modes, where the AIS objects should be activated\r
+  /// \param theModes a list of modes\r
+  virtual void activeSelectionModes(QIntList& theModes) {};\r
+\r
 public slots:\r
   /// Called on call of command corresponded to a feature\r
   void onFeatureTriggered();\r
@@ -141,7 +145,7 @@ protected slots:
  protected:\r
   /// Sends the operation for launching\r
   /// \param theOperation the operation\r
-  void sendOperation(ModuleBase_Operation* theOperation);\r
+  virtual void sendOperation(ModuleBase_Operation* theOperation);\r
 \r
   /// Creates a new operation\r
   /// \param theCmdId the operation name\r