]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #619
authorisn <isn@opencascade.com>
Tue, 30 Jun 2015 10:46:46 +0000 (13:46 +0300)
committerisn <isn@opencascade.com>
Tue, 30 Jun 2015 10:46:46 +0000 (13:46 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx
src/HYDROGUI/HYDROGUI_Operations.cxx
src/HYDROGUI/HYDROGUI_Operations.h

index 112499ae1962a96221840d221972dae00c0d1d81..60609a971612abb30b26f6291b1901b73daa82a9 100644 (file)
@@ -518,7 +518,8 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
           theMenu->addAction( action( ImportStricklerTableFromFileId ) );          
           break;
         case KIND_LAND_COVER:
-          theMenu->addAction( action( CreateLandCoverId ) );          
+          theMenu->addAction( action( CreateLandCoverId ) ); 
+          theMenu->addAction( action( ImportLandCoverId ) ); 
           break;
         case KIND_CALCULATION:
           theMenu->addAction( action( CreateCalculationId ) );
index be2b9cdbdfed1c1ba026abbcbe677749bc4ee6bb..ae08b7209988a4c8f2c55a87ed3bda165a5477e3 100644 (file)
@@ -133,7 +133,7 @@ void HYDROGUI_Module::createActions()
   createAction( ImportPolylineId, "IMPORT_POLYLINE", "IMPORT_POLYLINE_ICO" );
   createAction( ImportSinusXId, "IMPORT_SINUSX", "IMPORT_SINUSX_ICO" );
   createAction( ExportSinusXId, "EXPORT_SINUSX", "EXPORT_SINUSX_ICO" );
-  createAction( ImportLandcoverId, "IMPORT_LANDCOVER", "IMPORT_LANDCOVER_ICO" );
+  createAction( ImportLandCoverId, "IMPORT_LANDCOVER", "IMPORT_LANDCOVER_ICO" );
 
   createAction( CreatePolylineId, "CREATE_POLYLINE", "CREATE_POLYLINE_ICO" );
   createAction( EditPolylineId, "EDIT_POLYLINE", "EDIT_POLYLINE_ICO" ); 
@@ -241,7 +241,7 @@ void HYDROGUI_Module::createMenus()
   int aHydroId = createMenu( tr( "MEN_DESK_HYDRO" ), -1, -1, aHydroMenu );
   createMenu( ImportSinusXId, aHydroId, -1, -1 );
   createMenu( ExportSinusXId, aHydroId, -1, -1 );
-  createMenu( ImportLandcoverId, aHydroId, -1, -1 );
+  createMenu( ImportLandCoverId, aHydroId, -1, -1 );
   
   createMenu( ImportBathymetryId, aHydroId, -1, -1 );
   createMenu( ImportStricklerTableFromFileId, aHydroId, -1, -1 );
@@ -299,7 +299,7 @@ void HYDROGUI_Module::createToolbars()
   createTool( ImportPolylineId, aToolBar );
   createTool( ImportSinusXId, aToolBar );
   createTool( ExportSinusXId, aToolBar );
-  createTool( ImportLandcoverId, aToolBar );
+  createTool( ImportLandCoverId, aToolBar );
 
   createTool( ImportBathymetryId, aToolBar );
   createTool( CreatePolylineId, aToolBar );
@@ -481,7 +481,7 @@ LightApp_Operation* HYDROGUI_Module::createOperation( const int theId ) const
   case ExportToShapeFileID:
     anOp = new HYDROGUI_ExportFileOp( aModule );
     break;
-  case ImportLandcoverId:
+  case ImportLandCoverId:
     anOp = new HYDROGUI_ImportLandCoverOp( aModule );
     break;
   case RemoveImageRefsId:
index 37d0205378df3670bc5f937836f8927bd22044b2..9264dfc3675ab47bb26655524909d85091eef2f0 100644 (file)
@@ -114,7 +114,7 @@ enum OperationId
   ExportSinusXId,
     
   ExportToShapeFileID,
-  ImportLandcoverId,
+  ImportLandCoverId,
 
   ImportStricklerTableFromFileId,
   ExportStricklerTableFromFileId,