Salome HOME
Tooltips update for extrusion and revolution
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.h
index 782d9eaeb3b4f61888d85fb37b3ed0b99be39478..5d30779b107c5c88a3906bb53683fcc5e380ee82 100644 (file)
@@ -34,6 +34,7 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
     Face,
     Solid,
     Compound,
+    Plane,
     AnyShape
   };
 
@@ -43,7 +44,8 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
   //! \param theAttribute the checked attribute
   //! \param theArguments arguments of the attribute
   GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
-                                             const std::list<std::string>& theArguments) const;
+                                             const std::list<std::string>& theArguments,
+                                             std::string& theError) const;
 protected:
   /// Convert string to TypeOfShape value
   /// \param theType a string value