Salome HOME
Added the system of reinitialization of attributes instead of re-creation of them...
[modules/shaper.git] / src / Model / Model_AttributeBoolean.h
index 1ad1f487e170854ef9f1bdf06a076294ceb8aeb4..e579649e9ce922c0a0f2d1f99e1b0cba877b71c7 100644 (file)
@@ -32,6 +32,9 @@ class Model_AttributeBoolean : public ModelAPI_AttributeBoolean
   /// Initializes attibutes
   Model_AttributeBoolean(TDF_Label& theLabel);
 
+  /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
+  virtual void reinit();
+
   friend class Model_Data;
 };