Salome HOME
PLaneGCSSolver: It is not necessary to adjust Angle constraint (issue #1536)
[modules/shaper.git] / src / ModelAPI / ModelAPI_Feature.h
index 8a648e7c53c21616a7260ed5ad29ec0d11f2628c..66eb18225d371b0cd2ba02b94a0b50581c36a0dc 100644 (file)
@@ -142,6 +142,11 @@ class ModelAPI_Feature : public ModelAPI_Object
   /// Returns the feature is stable or not.
   MODELAPI_EXPORT virtual bool isStable();
 
+  /// Performs some custom feature specific functionality (normally called by some GUI button)
+  /// \param theActionId an action key
+  /// \return a boolean value about it is performed
+  MODELAPI_EXPORT virtual bool customAction(const std::string& theActionId);
+
  //
  // Helper methods, aliases for data()->method()
  // -----------------------------------------------------------------------------------------------