Quintiq file version 2.0
#parent: #root
Method EnableDisableComponent (
  Boolean isbatchedit
) id:Method_ScenarioManager_DialogCreateEditStrategyLevel_EnableDisableComponent
{
  #keys: '[108486.1.426895459]'
  Body:
  [*
    // Enable disable components
    
    EditorTimeLimit.Enabled( not isbatchedit
                             or( isbatchedit and CheckBoxBatchEditTimeLimit.Checked() ) );
    
    RadioButtonGroup.Enabled( not isbatchedit
                              or( isbatchedit and CheckBoxBatchEditGap.Checked() ) );
    
    EditorAbsoluteGap.Enabled( not isbatchedit
                               or( isbatchedit and CheckBoxBatchEditGap.Checked() ) );
    
    EditorRelativeGap.Enabled( not isbatchedit
                               or( isbatchedit and CheckBoxBatchEditGap.Checked() ) );
    
    EditorRelativeGoalSlack.Enabled( not isbatchedit
                                     or ( isbatchedit and CheckBoxBatchEditRelativeGoalSlack.Checked() ) );
    
    SelectionSolverSettingGroup.Enabled( not isbatchedit
                                         or ( isbatchedit and CheckBoxBatchEditSolverSettingGroup.Checked() ) );
                                         
    CheckBoxUseHierarchicalSolverRelTolerance.Enabled( not isbatchedit 
                                                       or ( isbatchedit and CheckBoxBatchEditHierarchalSettings.Checked() ) ); 
                                                       
    
    CheckBoxUseHierarchicalSolverAbsTolerance.Enabled( not isbatchedit 
                                                       or ( isbatchedit and CheckBoxBatchEditHierarchalSettings.Checked() ) ); 
                                                       
    EditorHierarchicalSolverAbsTolerance.Enabled( not isbatchedit 
                                                       or ( isbatchedit and CheckBoxBatchEditHierarchalSettings.Checked() ) ); 
    
    EditorHierarchicalSolverRelTolerance.Enabled( not isbatchedit 
                                                       or ( isbatchedit and CheckBoxBatchEditHierarchalSettings.Checked() ) );
  *]
}
