Salome HOME
setDisplayed has to be called in order to synchronize internal state of the object
[modules/shaper.git] / src / Model / Model_ResultGroup.h
index 33c0e17a74ba47245741359e4e8c9d50653826c7..be220052fb987e89b2da637c0ed06c1289a91417 100644 (file)
@@ -23,12 +23,16 @@ public:
   /// default color for a result body
   inline static const std::string& DEFAULT_COLOR()
   {
-    static const std::string RESULT_GROUP_COLOR("#E0A01B");
+    static const std::string RESULT_GROUP_COLOR("150,150,180");
     return RESULT_GROUP_COLOR;
   }
   /// Request for initialization of data model of the result: adding all attributes
   virtual void initAttributes();
 
+  // Retuns the parameters of color definition in the resources config manager
+  MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName,
+                                            std::string& theDefault);
+
   /// Returns the compound of selected entities
   MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
 
@@ -39,7 +43,7 @@ protected:
   /// Makes a body on the given feature data
   Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
 
-  friend class Model_Document;
+  friend class Model_Objects;
 };
 
 #endif