Salome HOME
Merge branch 'BR_LCM_COMP' into HEAD
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.cxx
index 168dc17f92b772ad30112b81b1c39e33c4b11878..f861ac792105ff447509003d9ee25772dd21dba8 100644 (file)
@@ -678,7 +678,10 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
         theMenu->addSeparator();
         theMenu->addAction( action( SplitLandCoverId ) );
         theMenu->addAction( action( MergeLandCoverId ) );
+        theMenu->addAction( action( ChangeLandCoverTypeId ) );
         theMenu->addSeparator();
+        //
+        theMenu->addAction( action( ExportToShapeFileID ) );
       }      
       else if( anIsVisualState && anIsObjectBrowser )
       {
@@ -697,6 +700,8 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
       if ( anIsObjectCanBeColored )
       {
         theMenu->addAction( action( SetColorId ) );
+        if ( anIsLandCoverMap )
+          theMenu->addAction( action( SetTransparencyId ) );
         theMenu->addSeparator();
       }
     } else if ( anAllAreProfiles ) {
@@ -705,7 +710,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
     }
 
     bool anIsPoly = anIsPolyline || anIsPolyline3D;
-    if ((anIsPoly && !anIsLandCoverMap) || (!anIsPoly && anIsLandCoverMap))
+    if (anIsPoly && !anIsLandCoverMap)
       theMenu->addAction( action( ExportToShapeFileID ) );
 
     // Add copy action