+ else if( anIsStricklerTable )
+ {
+ theMenu->addAction( action( EditStricklerTableId ) );
+ theMenu->addAction( action( ExportStricklerTableFromFileId ) );
+ theMenu->addAction( action( DuplicateStricklerTableId ) );
+ theMenu->addSeparator();
+
+ Handle(HYDROData_StricklerTable) aTable =
+ Handle(HYDROData_StricklerTable)::DownCast( aSeq.First() );
+ QString aCurrentTable =
+ HYDROGUI_DataObject::dataObjectEntry( getLandCoverColoringTable( anActiveViewId ) );
+ bool isUsed = aCurrentTable == HYDROGUI_DataObject::dataObjectEntry( aTable );
+
+ if ( !isUsed && !getObjectShapes( anActiveViewId, KIND_LAND_COVER_MAP ).isEmpty() ) {
+ theMenu->addAction( action( LandCoverScalarMapModeOnId ) );
+ theMenu->addSeparator();
+ }
+ }
+ else if( anIsLandCoverMap )
+ {
+ theMenu->addAction( action( AddLandCoverId ) );
+ theMenu->addAction( action( RemoveLandCoverId ) );
+ theMenu->addSeparator();
+ theMenu->addAction( action( SplitLandCoverId ) );
+ theMenu->addAction( action( MergeLandCoverId ) );
+ theMenu->addAction( action( ChangeLandCoverTypeId ) );
+ theMenu->addSeparator();
+ //
+ theMenu->addAction( action( ExportToShapeFileID ) );
+ theMenu->addSeparator();
+ }