Salome HOME
#1042 Sometimes when setting distance constraints, the input field is not displayed...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintMirror.h
index 841f11abd37718358f0249307d0fd857ac7b3994..5ae07ac19686ea40bc994a5a99481f4af84d22e0 100644 (file)
@@ -38,12 +38,23 @@ class SketchPlugin_ConstraintMirror : public SketchPlugin_ConstraintBase
     return MY_KIND;
   }
 
+  /// List of objects to be mirrored
+  inline static const std::string& MIRROR_LIST_ID()
+  {
+    static const std::string MY_MIRROR_LIST_ID("ConstraintMirrorList");
+    return MY_MIRROR_LIST_ID;
+  }
+
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();
 
   /// \brief Request for initialization of data model of the feature: adding all attributes
   SKETCHPLUGIN_EXPORT virtual void initAttributes();
 
+  /// Called on change of any argument-attribute of this object
+  /// \param theID identifier of changed attribute
+  SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
   /// Returns the AIS preview
   SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);