Quintiq file version 2.0
#parent: ButtonEditStrategy
Response OnClick () id:Response_DialogSelectOptimizer_ButtonEditStrategy_OnClick
{
  #keys: '[11660.0.531599124]'
  Body:
  [*
    //Display strategy dialog
    dlg := construct( ScenarioManager_DialogCreateEditStrategy );
    if ( isnull( SelectionStrategy.Data() ) )
    {
      strategy := dlg.NewStrategy( this );
      SelectionStrategy.BoundValue( strategy.Name() )
    }
    else
    {
      strategy := dlg.EditStrategy( SelectionStrategy.Data(), this );
      SelectionStrategy.BoundValue( strategy.Name() )
    }
    Dialog.ShowHideComponents();
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  UserRequiresReadWrite: true
}
