Quintiq file version 2.0
#parent: #root
Method New (
  internal[GUIComponent] parent,
  LibOpt_Optimizer owner
) as LibOpt_Run id:Method_LibOpt_DialogRunComment_New_991
{
  #keys: '[139164.0.261240374]'
  Body:
  [*
    data := owner.Run( relshadow );
    
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
    }
    
    return data.WrappedInstance();
  *]
}
