#8198 Stimplan: Rename enum texts for orientation of fraction and stimplan model

This commit is contained in:
Magne Sjaastad 2021-10-26 14:26:36 +02:00
parent e1dea1d34d
commit 32ac5b8e5c
2 changed files with 15 additions and 7 deletions

View File

@ -44,9 +44,12 @@ namespace caf
template <> template <>
void caf::AppEnum<RimFractureTemplate::FracOrientationEnum>::setUp() void caf::AppEnum<RimFractureTemplate::FracOrientationEnum>::setUp()
{ {
addItem( RimFractureTemplate::AZIMUTH, "Az", "Azimuth" ); addItem( RimFractureTemplate::AZIMUTH, "Azimuth", "Azimuth", QStringList( "Az" ) );
addItem( RimFractureTemplate::ALONG_WELL_PATH, "AlongWellPath", "Along Well Path" ); addItem( RimFractureTemplate::ALONG_WELL_PATH, "Longitudinal", "Along Well Path", QStringList( "AlongWellPath" ) );
addItem( RimFractureTemplate::TRANSVERSE_WELL_PATH, "TransverseWellPath", "Transverse (normal) to Well Path" ); addItem( RimFractureTemplate::TRANSVERSE_WELL_PATH,
"Transverse",
"Transverse (normal) to Well Path",
QStringList( "TransverseWellPath" ) );
setDefault( RimFractureTemplate::TRANSVERSE_WELL_PATH ); setDefault( RimFractureTemplate::TRANSVERSE_WELL_PATH );
} }

View File

@ -95,11 +95,16 @@ void caf::AppEnum<RimStimPlanModel::ExtractionType>::setUp()
template <> template <>
void caf::AppEnum<RimStimPlanModel::FractureOrientation>::setUp() void caf::AppEnum<RimStimPlanModel::FractureOrientation>::setUp()
{ {
addItem( RimStimPlanModel::FractureOrientation::ALONG_WELL_PATH, "ALONG_WELL_PATH", "Along Well Path" ); addItem( RimStimPlanModel::FractureOrientation::ALONG_WELL_PATH,
"Longitudinal",
"Along Well Path",
QStringList( "ALONG_WELL_PATH" ) );
addItem( RimStimPlanModel::FractureOrientation::TRANSVERSE_WELL_PATH, addItem( RimStimPlanModel::FractureOrientation::TRANSVERSE_WELL_PATH,
"TRANSVERSE_WELL_PATH", "Transverse",
"Transverse (normal) to Well Path" ); "Transverse (normal) to Well Path",
addItem( RimStimPlanModel::FractureOrientation::AZIMUTH, "AZIMUTH", "Azimuth" ); QStringList( "TRANSVERSE_WELL_PATH" ) );
addItem( RimStimPlanModel::FractureOrientation::AZIMUTH, "Azimuth", "Azimuth", QStringList( "AZIMUTH" ) );
setDefault( RimStimPlanModel::FractureOrientation::TRANSVERSE_WELL_PATH ); setDefault( RimStimPlanModel::FractureOrientation::TRANSVERSE_WELL_PATH );
} }