mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8420 Janitor: Remove empty parameters in initialization macros
This commit is contained in:
@@ -56,10 +56,7 @@ RimFileWellPath::RimFileWellPath()
|
||||
CAF_PDM_InitField( &m_useAutoGeneratedPointAtSeaLevel,
|
||||
"UseAutoGeneratedPointAtSeaLevel",
|
||||
false,
|
||||
"Generate Point at Sea Level",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Generate Point at Sea Level" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -54,10 +54,7 @@ RimModeledWellPath::RimModeledWellPath()
|
||||
CAF_PDM_InitScriptableFieldWithScriptKeywordNoDefault( &m_geometryDefinition,
|
||||
"WellPathGeometryDef",
|
||||
"WellPathGeometry",
|
||||
"Trajectory",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Trajectory" );
|
||||
m_geometryDefinition = new RimWellPathGeometryDef;
|
||||
m_geometryDefinition->changed.connect( this, &RimModeledWellPath::onGeometryDefinitionChanged );
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ CAF_PDM_SOURCE_INIT( RimWellIASettings, "RimWellIASettings" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellIASettings::RimWellIASettings()
|
||||
{
|
||||
CAF_PDM_InitObject( "Integrity Analysis Model Settings", ":/WellIntAnalysis.png", "", "" );
|
||||
CAF_PDM_InitObject( "Integrity Analysis Model Settings", ":/WellIntAnalysis.png" );
|
||||
|
||||
setName( "Model" );
|
||||
|
||||
@@ -75,9 +75,9 @@ RimWellIASettings::RimWellIASettings()
|
||||
|
||||
CAF_PDM_InitField( &m_bufferXY, "BufferXY", 5.0, "Model Size (XY)" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_parameters, "ModelingParameters", "Modeling Parameters", ":/Bullet.png", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_parameters, "ModelingParameters", "Modeling Parameters", ":/Bullet.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_csvParameters, "TimeStepParameters", "Time Step Parameters", ":/Bullet.png", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_csvParameters, "TimeStepParameters", "Time Step Parameters", ":/Bullet.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_nameProxy, "NameProxy", "Name Proxy" );
|
||||
m_nameProxy.registerGetMethod( this, &RimWellIASettings::fullName );
|
||||
|
||||
@@ -38,7 +38,7 @@ CAF_PDM_SOURCE_INIT( RimWellIASettingsCollection, "RimWellIASettingsCollection"
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellIASettingsCollection::RimWellIASettingsCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Integrity Analysis Models", ":/WellIntAnalysis.png", "", "" );
|
||||
CAF_PDM_InitObject( "Integrity Analysis Models", ":/WellIntAnalysis.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_wellIASettings, "WellIASettings", "Settings" );
|
||||
m_wellIASettings.uiCapability()->setUiHidden( true );
|
||||
|
||||
@@ -32,7 +32,7 @@ CAF_PDM_SOURCE_INIT( RimWellPathAttributeCollection, "WellPathAttributes" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathAttributeCollection::RimWellPathAttributeCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Casing Design", ":/CasingDesign16x16", "", "" );
|
||||
CAF_PDM_InitObject( "Casing Design", ":/CasingDesign16x16" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_attributes, "Attributes", "Casing Design Attributes" );
|
||||
m_attributes.uiCapability()->setUiEditorTypeName( caf::PdmUiTableViewEditor::uiEditorTypeName() );
|
||||
|
||||
@@ -104,10 +104,7 @@ RimWellPathCollection::RimWellPathCollection()
|
||||
CAF_PDM_InitField( &wellPathVisibility,
|
||||
"GlobalWellPathVisibility",
|
||||
WellVisibilityEnum( ALL_ON ),
|
||||
"Global Well Path Visibility",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Global Well Path Visibility" );
|
||||
|
||||
CAF_PDM_InitField( &wellPathRadiusScaleFactor, "WellPathRadiusScale", 0.1, "Well Path Radius Scale" );
|
||||
CAF_PDM_InitField( &wellPathCrossSectionVertexCount, "WellPathVertexCount", 12, "Well Path Vertex Count" );
|
||||
|
||||
@@ -68,10 +68,7 @@ RimWellPathGeometryDef::RimWellPathGeometryDef()
|
||||
"ReferencePosUtmXyd",
|
||||
"ReferencePoint",
|
||||
cvf::Vec3d( 0, 0, 0 ),
|
||||
"UTM Reference Point",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"UTM Reference Point" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_airGap, "AirGap", 0.0, "Air Gap" );
|
||||
m_airGap.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
@@ -89,26 +86,14 @@ RimWellPathGeometryDef::RimWellPathGeometryDef()
|
||||
CAF_PDM_InitField( &m_useTopLevelWellReferencePoint,
|
||||
"UseTopLevelWellReferencePoint",
|
||||
false,
|
||||
"Use Top Level Well Reference Point",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Use Top Level Well Reference Point" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_useAutoGeneratedTargetAtSeaLevel,
|
||||
"UseAutoGeneratedTargetAtSeaLevel",
|
||||
true,
|
||||
"Generate Target at Sea Level",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Generate Target at Sea Level" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_linkReferencePointUpdates,
|
||||
"LinkReferencePointUpdates",
|
||||
false,
|
||||
"Link Reference Point",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_linkReferencePointUpdates, "LinkReferencePointUpdates", false, "Link Reference Point" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_autoTargetAtSeaLevel, "AutoGeneratedTarget", "Auto Generated Target" );
|
||||
m_autoTargetAtSeaLevel = new RimWellPathTarget;
|
||||
|
||||
@@ -37,7 +37,7 @@ CAF_PDM_SOURCE_INIT( RimWellPathGroup, "WellPathGroup" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathGroup::RimWellPathGroup()
|
||||
{
|
||||
CAF_PDM_InitObject( "Well Path Group", ":/WellPathGroup.svg", "", "" );
|
||||
CAF_PDM_InitObject( "Well Path Group", ":/WellPathGroup.svg" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_childWellPaths, "ChildWellPaths", "Child Well Paths" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_groupName, "GroupName", "Group Name" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user