#5379 Surface : Add alias

This commit is contained in:
Magne Sjaastad 2020-04-30 20:20:46 +02:00
parent c69d857c8f
commit 5fcb42210c
3 changed files with 6 additions and 3 deletions

View File

@ -999,7 +999,7 @@ void RimEclipseView::onLoadDataAndUpdate()
this->m_wellCollection->scaleWellDisks();
this->m_surfaceCollection->loadData();
if ( this->m_surfaceCollection ) this->m_surfaceCollection->loadData();
scheduleReservoirGridGeometryRegen();
m_simWellsPartManager->clearGeometryCache();

View File

@ -24,7 +24,10 @@
#include <QFileInfo>
CAF_PDM_SOURCE_INIT( RimFileSurface, "FileSurface" );
// TODO: Use the alias concept prototyped below when the alias concept for class is ready
// CAF_PDM_SOURCE_INIT( RimFileSurface, "FileSurface", "Surface" );
// CAF_PDM_SOURCE_INIT( <class> , <keyword> , <alias>);
CAF_PDM_SOURCE_INIT( RimFileSurface, "Surface" );
//--------------------------------------------------------------------------------------------------
///

View File

@ -26,7 +26,7 @@
#include "cafPdmUiDoubleSliderEditor.h"
CAF_PDM_ABSTRACT_SOURCE_INIT( RimSurface, "Surface" );
CAF_PDM_ABSTRACT_SOURCE_INIT( RimSurface, "SurfaceInterface" );
//--------------------------------------------------------------------------------------------------
///