mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1596 Rename from RimDefines to RiaDefines
This commit is contained in:
@@ -252,7 +252,7 @@ void RimEclipsePropertyFilter::updateReadOnlyStateOfAllFields()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipsePropertyFilter::updateRangeLabel()
|
||||
{
|
||||
if (resultDefinition->resultType() == RimDefines::FLOW_DIAGNOSTICS)
|
||||
if (resultDefinition->resultType() == RiaDefines::FLOW_DIAGNOSTICS)
|
||||
{
|
||||
m_rangeLabelText = "Current Timestep";
|
||||
}
|
||||
@@ -348,7 +348,7 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
||||
|
||||
clearCategories();
|
||||
|
||||
if (resultDefinition->resultType() == RimDefines::FLOW_DIAGNOSTICS)
|
||||
if (resultDefinition->resultType() == RiaDefines::FLOW_DIAGNOSTICS)
|
||||
{
|
||||
RimView* view;
|
||||
this->firstAncestorOrThisOfType(view);
|
||||
@@ -379,7 +379,7 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
||||
|
||||
if ( resultDefinition->hasCategoryResult() )
|
||||
{
|
||||
if ( resultDefinition->resultType() == RimDefines::FORMATION_NAMES )
|
||||
if ( resultDefinition->resultType() == RiaDefines::FORMATION_NAMES )
|
||||
{
|
||||
CVF_ASSERT(parentContainer()->reservoirView()->eclipseCase()->eclipseCaseData());
|
||||
CVF_ASSERT(parentContainer()->reservoirView()->eclipseCase()->eclipseCaseData()->activeFormationNames());
|
||||
@@ -387,10 +387,10 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
||||
const std::vector<QString>& fnVector = parentContainer()->reservoirView()->eclipseCase()->eclipseCaseData()->activeFormationNames()->formationNames();
|
||||
setCategoryNames(fnVector);
|
||||
}
|
||||
else if (resultDefinition->resultVariable() == RimDefines::completionTypeResultName())
|
||||
else if (resultDefinition->resultVariable() == RiaDefines::completionTypeResultName())
|
||||
{
|
||||
std::vector<QString> ctNames;
|
||||
for (QString ctName : caf::AppEnum<RimDefines::CompletionType>::uiTexts())
|
||||
for (QString ctName : caf::AppEnum<RiaDefines::CompletionType>::uiTexts())
|
||||
{
|
||||
ctNames.push_back(ctName);
|
||||
}
|
||||
@@ -423,7 +423,7 @@ void RimEclipsePropertyFilter::updateFromCurrentTimeStep()
|
||||
//
|
||||
// If the user manually has set a filter value, this value is left untouched
|
||||
|
||||
if (resultDefinition->resultType() != RimDefines::FLOW_DIAGNOSTICS)
|
||||
if (resultDefinition->resultType() != RiaDefines::FLOW_DIAGNOSTICS)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user