Salome HOME
#571 - Land Cover: calculation of Strickler coefficient
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operations.cxx
index 0a96e7986f8f9afffa28f14b8c0a29c913bfe757..109b1a55de78cfa9fd7a981e8e9bab284b91ed1a 100644 (file)
@@ -61,6 +61,7 @@
 #include "HYDROGUI_StricklerTableOp.h"
 #include "HYDROGUI_DuplicateOp.h"
 #include "HYDROGUI_LandCoverOp.h"
+#include "HYDROGUI_PolylineExtractionOp.h"
 
 #include <HYDROData_Document.h>
 #include <HYDROData_Obstacle.h>
@@ -202,6 +203,7 @@ void HYDROGUI_Module::createActions()
   createAction( SubmersibleId, "SUBMERSIBLE", "SUBMERSIBLE_ICO" );
   createAction( ExportPolylineId, "EXPORT_POLYLINE", "EXPORT_POLYLINE_ICO" );
 
+  createAction( PolylineExtraction, "POLYLINE_EXTRACTION" );
 }
 
 void HYDROGUI_Module::createMenus()
@@ -573,6 +575,9 @@ LightApp_Operation* HYDROGUI_Module::createOperation( const int theId ) const
   case SubmersibleId:
     anOp = new HYDROGUI_SubmersibleOp( aModule );
     break;
+  case PolylineExtraction:
+    anOp = new HYDROGUI_PolylineExtractionOp( aModule );
+    break;
   }
 
   if( !anOp )