X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FHYDROGUI%2FHYDROGUI_Operations.cxx;fp=src%2FHYDROGUI%2FHYDROGUI_Operations.cxx;h=91d3dc86448082e870096e134697aee3d925f24c;hb=9d74e559cfe55dea14f7bfdb6957c61829e98cf3;hp=c14e71723b176028ce8113ada191b94e40968f0e;hpb=8200d9981bc68f00d5d50230d36079b5d0264452;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index c14e7172..91d3dc86 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -74,7 +74,7 @@ #include "HYDROGUI_BathymetryOp.h" #include "HYDROGUI_RegenerateRegionColorsOp.h" #include "HYDROGUI_PolylineStyleOp.h" - +#include "HYDROGUI_ZoneSetColorOp.h" #include #include #include @@ -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 )