Salome HOME
setDisplayed has to be called in order to synchronize internal state of the object
[modules/shaper.git] / src / Model / Model_ResultPart.h
index e88d22aa28caa47d10dc550521524220bd9b4e12..7ebafd3ea0b22237d2b7e7ed10b3757a35fe0bc6 100644 (file)
@@ -10,7 +10,7 @@
 #include "Model.h"
 #include <ModelAPI_ResultPart.h>
 
-/**\class ModelAPI_ResultPart
+/**\class Model_ResultPart
  * \ingroup DataModel
  * \brief The Part document, result of a creation of new part feature.
  *
@@ -35,7 +35,10 @@ protected:
   /// Sets the data manager of an object (document does), here also attributes are initialized
   virtual void setData(std::shared_ptr<ModelAPI_Data> theData);
 
-  friend class Model_Document;
+  /// Returns true if document is activated (loaded into the memory)
+  virtual bool isActivated();
+
+  friend class Model_Objects;
 };
 
 #endif