HYDROGUI_PolylineStyleOp.h
HYDROGUI_PolylineStyleDlg.h
HYDROGUI_ZoneTool.h
+ HYDROGUI_RegenerateRegionColorsOp.h
)
QT_WRAP_MOC(PROJECT_HEADERS_MOC ${PROJECT_HEADERS})
HYDROGUI_PolylineStyleOp.cxx
HYDROGUI_PolylineStyleDlg.cxx
HYDROGUI_ZoneTool.cxx
+ HYDROGUI_RegenerateRegionColorsOp.cxx
)
add_definitions(
}
theMenu->addSeparator();
}
+ else
+ {
+ Handle(HYDROData_CalculationCase) aCalcCase;
+ QString outStr;
+ HYDROGUI_Tool::IsSelectedPartOfCalcCase(this, aCalcCase, outStr);
+ if (outStr == HYDROGUI_DataModel::partitionName( KIND_REGION ))
+ theMenu->addAction( action( RegenerateRegionColorsId ) );
+ }
}
if( anIsSelectedDataObjects )
#include "HYDROGUI_ImportLandCoverMapOp.h"
#include "HYDROGUI_BathymetrySelectionOp.h"
#include "HYDROGUI_BathymetryOp.h"
+#include "HYDROGUI_RegenerateRegionColorsOp.h"
#include "HYDROGUI_PolylineStyleOp.h"
#include <HYDROData_Document.h>
createAction( LandCoverScalarMapModeOnId, "LC_SCALARMAP_COLORING_ON" );
createAction( LandCoverScalarMapModeOffId, "LC_SCALARMAP_COLORING_OFF" );
+ createAction( RegenerateRegionColorsId, "REGENERATE_REGION_COLORS" );
createAction( ShowHideArrows, "SHOW_HIDE_ARROWS" );
}
case LandCoverScalarMapModeOffId:
anOp = new HYDROGUI_LandCoverColoringOp( aModule, theId );
break;
+ case RegenerateRegionColorsId:
+ anOp = new HYDROGUI_RegenerateRegionColorsOp( aModule );
}
if( !anOp )
BathymetryRescaleVisibleId,
BathymetryRescaleUserId,
BathymetryRescaleDefaultId,
-
+ RegenerateRegionColorsId,
ShowHideArrows,
};