mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 07:30:20 -05:00
Release 2025.09.0
This commit is contained in:
1 parent
c33402f5ea
commit
917136fec8
1053 files changed
+61952
-11833
No files matched your search
@@ -40,9 +40,10 @@ CAF_PDM_OBJECT_METHOD_SOURCE_INIT( RimWellLogPlotCollection, RimcWellLogPlotColl
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimcWellLogPlotCollection_newWellLogPlot::RimcWellLogPlotCollection_newWellLogPlot( caf::PdmObjectHandle* self )
|
||||
: caf::PdmObjectMethod( self )
|
||||
: caf::PdmObjectCreationMethod( self )
|
||||
{
|
||||
CAF_PDM_InitObject( "Create Well Log Plot", "", "", "Create a new well log plot" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_case, "Case", "", "", "", "Case" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_wellPath, "WellPath", "", "", "", "Well Path" );
|
||||
|
||||
@@ -54,7 +55,7 @@ RimcWellLogPlotCollection_newWellLogPlot::RimcWellLogPlotCollection_newWellLogPl
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmObjectHandle* RimcWellLogPlotCollection_newWellLogPlot::execute()
|
||||
std::expected<caf::PdmObjectHandle*, QString> RimcWellLogPlotCollection_newWellLogPlot::execute()
|
||||
{
|
||||
RimWellLogPlot* newWellLogPlot = nullptr;
|
||||
RimWellLogPlotCollection* wellLogPlotCollection = self<RimWellLogPlotCollection>();
|
||||
@@ -89,15 +90,7 @@ RimWellLogPlot* RimcWellLogPlotCollection_newWellLogPlot::createWellLogPlot( Rim
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimcWellLogPlotCollection_newWellLogPlot::resultIsPersistent() const
|
||||
QString RimcWellLogPlotCollection_newWellLogPlot::classKeywordReturnedType() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::unique_ptr<caf::PdmObjectHandle> RimcWellLogPlotCollection_newWellLogPlot::defaultResult() const
|
||||
{
|
||||
return std::unique_ptr<caf::PdmObjectHandle>( new RimWellLogPlot );
|
||||
return RimWellLogPlot::classKeywordStatic();
|
||||
}
|
||||
Reference in new issue
Block a user