]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_MultiTranslation.h
Salome HOME
Add tools
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MultiTranslation.h
index 18e3c4afc93e100ff3bdc93592b37aac67af93d6..5bebd18825b6a04e5a4d511c70cc74981417b33e 100644 (file)
@@ -72,6 +72,10 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase
   /// \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);
 
@@ -80,7 +84,6 @@ class SketchPlugin_MultiTranslation : public SketchPlugin_ConstraintBase
 
 private:
   ObjectPtr copyFeature(ObjectPtr theObject);
-  void shiftFeature(ObjectPtr theInitial, ObjectPtr theTarget, double theDeltaX, double theDeltaY);
 };
 
 #endif