Salome HOME
Merge branch 'Dev_0.7.1' of newgeom:newgeom into Dev_0.7.1
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.h
index 29cdc430d099e3f81ecf3258f6c6b681ae90d610..9420d1e74d8818724ca2547c8e02fb9a9a5213a4 100644 (file)
@@ -23,6 +23,7 @@ class ModuleBase_Operation;
 class ModuleBase_IWorkshop;\r
 \r
 /**\r
+ * \ingroup GUI\r
  * Interface to a module\r
  */\r
 class MODULEBASE_EXPORT ModuleBase_IModule : public QObject\r
@@ -87,6 +88,11 @@ class MODULEBASE_EXPORT ModuleBase_IModule : public QObject
   /// It is called as on clearing of property panel as on filling with new widgets\r
   virtual void propertyPanelDefined(ModuleBase_Operation* theOperation) {}\r
 \r
+  /// Returns whether the object can be displayed at the bounds of the active operation.\r
+  /// Display only current operation results\r
+  /// \param theObject a model object\r
+  virtual bool canDisplayObject(const ObjectPtr& theObject) const;\r
+\r
 public slots:\r
   /// Called on call of command corresponded to a feature\r
   void onFeatureTriggered();\r