Salome HOME
Fix for #767: correct the internal history structure for nested features
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultCompSolid.h
index fb85fdb176b2bb290dc76bc6dca4868e4d66c1cc..678594277e0cb408e3f2f4838bdf09647e4b6787 100755 (executable)
@@ -23,9 +23,6 @@ public:
   MODELAPI_EXPORT virtual ~ModelAPI_ResultCompSolid();
   /// Returns the group identifier of this result
 
-  /// Returns the feature is disabled or not.
-  MODELAPI_EXPORT virtual bool isDisabled() const;
-
   /// Returns the number of sub-elements
   virtual int numberOfSubs(bool forTree = false) const = 0;
 
@@ -36,6 +33,10 @@ public:
   /// Returns true if feature or reuslt belong to this composite feature as subs
   virtual bool isSub(ObjectPtr theObject) const = 0;
 
+  /// Set displayed flag to the result and all sub results
+  /// \param theDisplay a boolean value
+  MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay);
+
 protected:
 };