Add reload and delete of pressure/depth data

This commit is contained in:
Magne Sjaastad committed 2023-03-16 07:16:11 +01:00
1 parent 1b04d9ea45
commit beb06932f5
10 files changed
+159 -10

No files matched your search

@@ -38,6 +38,16 @@ RimPressureDepthData::RimPressureDepthData()
m_wells.xmlCapability()->disableIO();
m_wells.uiCapability()->setUiReadOnly( true );
m_wells.registerGetMethod( this, &RimPressureDepthData::wellNames );
setDeletable( true );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RimPressureDepthData::filePath() const
{
return m_filePath().path();
}
//--------------------------------------------------------------------------------------------------
@@ -53,7 +63,7 @@ void RimPressureDepthData::setFilePath( const QString& path )
//--------------------------------------------------------------------------------------------------
void RimPressureDepthData::createRftReaderInterface()
{
m_fmuRftReader = new RifReaderPressureDepthData( m_filePath );
m_fmuRftReader = new RifReaderPressureDepthData( m_filePath().path() );
m_fmuRftReader->load();
}