Salome HOME
Make tests working on new results structure and selection of feature as argument
[modules/shaper.git] / src / Model / Model_AttributeSelection.h
index 3576913777a966c88fe3a870a31451d3aa34c143..9267748a7d33a4e182726643cbb3d2404f94f320 100644 (file)
@@ -80,6 +80,8 @@ public:
 
   /// Returns the context of the selection if the whole feature was selected
   MODEL_EXPORT virtual FeaturePtr contextFeature();
+  /// Returns the context of the selection : result or feature
+  MODEL_EXPORT virtual std::shared_ptr<ModelAPI_Object> contextObject();
 
   /// Sets the feature object
   MODEL_EXPORT virtual void setObject(const std::shared_ptr<ModelAPI_Object>& theObject);