]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Result.h
Salome HOME
Make undo/redo working correctly with the color of results
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index c02abf60828854ffb8dac14a4c808e9129173efd..daad432e75dbdc2de59a1b42c977bc982d342d0a 100644 (file)
@@ -53,6 +53,10 @@ class ModelAPI_Result : public ModelAPI_Object
 
   /// Returns the shape-result produced by this feature (or null if no shapes)
   MODELAPI_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
+
+  /// On change of attribute of the result update presentation of this result:
+  /// for the current moment there are only presentation attributes assigned to results
+  MODELAPI_EXPORT virtual void attributeChanged(const std::string& theID);
 };
 
 //! Pointer on feature object