Quintiq file version 2.0
#parent: ListSnapshot
Response OnClick (
  LibOpt_Snapshot selection
) id:Response_ListSnapshot_MenuRun_OnClick
{
  #keys: '[139164.0.451805496]'
  Body:
  [*
    if ( LibOpt_GlobalState.StartNewRunChecks( null( LibOpt_Optimizer ), selection.Run() ) )
    {
      run := selection.PrepareRun();
      LibOpt_GlobalState.Select( run );
      run.Start();
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListSnapshot/Responsedef_ListSnapshot_Menu_OnClick
  Initiator: 'MenuRun'
  Precondition:
  [*
    return selection.PrepareRunPrecondition( feedback );
  *]
}
