#1543 Naming and fixes from review

This commit is contained in:
Bjørnar Grip Fjær
2017-06-02 10:35:52 +02:00
parent a52d70c424
commit b82aed4bfc
17 changed files with 28 additions and 20 deletions

View File

@@ -766,11 +766,19 @@ bool RimProject::showPlotWindow() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimProject::removeResult(RimDefines::ResultCatType type, const QString & resultName)
void RimProject::reloadCompletionTypeResultsInAllViews()
{
removeEclipseResultAndRedrawAllViews(RimDefines::DYNAMIC_NATIVE, RimDefines::completionTypeResultName());
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimProject::removeEclipseResultAndRedrawAllViews(RimDefines::ResultCatType type, const QString & resultName)
{
for (RimEclipseCase* eclipseCase : activeOilField()->analysisModels->cases)
{
eclipseCase->removeResult(type, resultName);
eclipseCase->removeEclipseResultAndScheduleRedrawAllViews(type, resultName);
}
}