Salome HOME
Fill the translation files and remove couts and debug work in Session
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plugin.cpp
index f06bd7635440f443c99e3bb42532f58711b33bb4..c60c022b4311028afd31a9c801159ed0d1158822 100644 (file)
@@ -5,6 +5,8 @@
 #include "ConstructionPlugin_Axis.h"
 #include "ConstructionPlugin_Plane.h"
 
+#include <Config_PropManager.h>
+
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Document.h>
 
@@ -17,6 +19,10 @@ ConstructionPlugin_Plugin::ConstructionPlugin_Plugin()
 {
   // register this plugin
   ModelAPI_Session::get()->registerPlugin(this);
+
+  // register construction properties
+  Config_PropManager::registerProp("Visualization", "construction_plane_color", "Construction plane color",
+                                   Config_Prop::Color, ConstructionPlugin_Plane::DEFAULT_COLOR());
 }
 
 FeaturePtr ConstructionPlugin_Plugin::createFeature(string theFeatureID)