mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename to resdata
* Rename to resdata * Remove development feature for storing grid import type in project file * Clean up comments
This commit is contained in:
@@ -81,14 +81,6 @@ RimEclipseResultCase::RimEclipseResultCase()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Eclipse Case", ":/Case48x48.png", "", "The Regular Eclipse Results Case" );
|
||||
|
||||
auto defaultReader = RiaPreferences::current()->gridModelReader();
|
||||
CAF_PDM_InitField( &m_gridModelReader, "gridModelReader", caf::AppEnum<RiaDefines::GridModelReader>( defaultReader ), "Grid Model Reader" );
|
||||
if ( !RiaApplication::enableDevelopmentFeatures() )
|
||||
{
|
||||
m_gridModelReader.xmlCapability()->disableIO();
|
||||
m_gridModelReader.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_unitSystem, "UnitSystem", "Unit System" );
|
||||
m_unitSystem.registerGetMethod( RimProject::current(), &RimProject::commonUnitSystemForAllCases );
|
||||
m_unitSystem.uiCapability()->setUiReadOnly( true );
|
||||
@@ -145,7 +137,9 @@ bool RimEclipseResultCase::importGridAndResultMetaData( bool showTimeStepFilter
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( m_gridModelReader == RiaDefines::GridModelReader::LIBECL )
|
||||
auto defaultReader = RiaPreferences::current()->gridModelReader();
|
||||
|
||||
if ( defaultReader == RiaDefines::GridModelReader::RESDATA )
|
||||
{
|
||||
auto readerEclipseOutput = new RifReaderEclipseOutput();
|
||||
|
||||
@@ -620,7 +614,6 @@ bool RimEclipseResultCase::hasSourSimFile()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseResultCase::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||
{
|
||||
uiOrdering.add( &m_gridModelReader );
|
||||
uiOrdering.add( &m_caseUserDescription );
|
||||
uiOrdering.add( &m_displayNameOption );
|
||||
uiOrdering.add( &m_caseId );
|
||||
|
||||
Reference in New Issue
Block a user