Salome HOME
Add tools
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index bdcbdd0ecdbf090b0a9303083385a9c431e06f65..f43efaf94702da0da6957f2595f59f13917c6693 100644 (file)
@@ -199,6 +199,11 @@ public:
   /// \param theStdActions - a map of standard actions
   virtual void updateViewerMenu(const QMap<QString, QAction*>& theStdActions); 
 
+  //! Returns the feature error if the current state of the feature in the module is not correct
+  //! If the feature is correct, it returns an empty value
+  //! \return string value
+  virtual QString getFeatureError(const FeaturePtr& theFeature);
+
 public slots:
   /// SLOT, that is called by no more widget signal emitted by property panel
   /// Set a specific flag to restart the sketcher operation
@@ -281,6 +286,7 @@ protected slots:
   PartSet_CustomPrs* myCustomPrs;
   int myVisualLayerId;
 
+  bool myHasConstraintShown;
 #ifdef ModuleDataModel
   PartSet_DocumentDataModel* myDataModel;
 #endif