]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_AttributeSelection.h
Salome HOME
Make tests working on new results structure and selection of feature as argument
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelection.h
index 22d1f8a543cd80080f7645cb595c663a88d2a219..5343ecfbd6052b338771bccb2f2a443ae2f8e5e4 100644 (file)
@@ -74,6 +74,8 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
 
   /// Returns the context of the selection if the whole feature was selected
   virtual std::shared_ptr<ModelAPI_Feature> contextFeature() = 0;
+  /// Returns the context of the selection : result or feature
+  virtual std::shared_ptr<ModelAPI_Object> contextObject() = 0;
 
   /// Updates the underlied selection due to the changes in the referenced objects
   /// \returns false if update is failed