Salome HOME
refs #1340 part.2
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operations.cxx
index c14e71723b176028ce8113ada191b94e40968f0e..91d3dc86448082e870096e134697aee3d925f24c 100644 (file)
@@ -74,7 +74,7 @@
 #include "HYDROGUI_BathymetryOp.h"
 #include "HYDROGUI_RegenerateRegionColorsOp.h"
 #include "HYDROGUI_PolylineStyleOp.h"
-
+#include "HYDROGUI_ZoneSetColorOp.h"
 #include <HYDROData_Document.h>
 #include <HYDROData_Obstacle.h>
 #include <HYDROData_SplitToZonesTool.h>
@@ -246,6 +246,7 @@ void HYDROGUI_Module::createActions()
   createAction( LandCoverScalarMapModeOffId, "LC_SCALARMAP_COLORING_OFF" );
 
   createAction( RegenerateRegionColorsId, "REGENERATE_REGION_COLORS" );
+  createAction( ZoneSetColorId, "ZONE_SET_COLOR" );
   createAction( ShowHideArrows, "SHOW_HIDE_ARROWS" );
 }
 
@@ -768,7 +769,9 @@ LightApp_Operation* HYDROGUI_Module::createOperation( const int theId ) const
     anOp = new HYDROGUI_LandCoverColoringOp( aModule, theId );
     break;
   case RegenerateRegionColorsId:
-     anOp = new HYDROGUI_RegenerateRegionColorsOp( aModule );
+    anOp = new HYDROGUI_RegenerateRegionColorsOp( aModule );
+  case ZoneSetColorId:
+    anOp = new HYDROGUI_ZoneSetColorOp( aModule );
   }
 
   if( !anOp )