Quintiq file version 2.0
#parent: #root
Method EditBenchmarkerParameter (
  internal[GUIComponent] parent,
  LibOBT_BenchmarkerParameter selection
) as Number id:Method_LibOBT_dlgEditBenchmarkerParameter_EditBenchmarkerParameter
{
  #keys: '[112884.0.883295783]'
  Body:
  [*
    // Edit benchmarker parameter
    
    data := shadow( selection );
    Dialog.Data( data );
    
    result := Dialog.DoModal( parent );
    
    if( result > 0 )
    {
      data.Strategy( relflush );
    
      traverse( DataHolderStrategies.Data(), Elements, strategy )
      {
        data.Strategy( relinsert, strategy );
      }
    
      data.Commit();
    }
    
    return result;
  *]
}
