Quintiq file version 2.0
#parent: #root
Method GetRadioButtonStrings (
  Boolean isdatabaseintegration,
  output structured[String] buttonlabels,
  output structured[String] buttonvalues
) id:Method_DialogEDIImportExport_GetRadioButtonStrings
{
  #keys: '[132894.0.294062836]'
  Body:
  [*
    // Return strings for button labels and button values for a radio button group
    
    // buttonlabels
    
    buttonlabels.Add( GlobalParameters_MP::GetStringReference() + Translations::MP_ImportExport_Excel() );
    buttonvalues.Add( MPSyncUtility::ID_Source_Excel() );
    
    if ( MacroPlan::ShowHide3DSDrive() ) 
    {
      buttonlabels.Add( Translations::MP_ImportExport_3DDrive() );
      buttonvalues.Add( MPSyncUtility::ID_Source_3DDrive() );
    }
    // The following functionality has moved to generic import dialog instead
    //if ( isdatabaseintegration )
    //{
    //  buttonlabels.Add( GlobalParameters_MP::GetStringReference() + Translations::MP_ImportExport_StagedData() );
    //  buttonvalues.Add( MPSyncUtility::ID_Source_StagedData() );
    //}
    
    buttonlabels.Add( GlobalParameters_MP::GetStringReference() + Translations::MP_ImportExport_DataManager() );
    buttonvalues.Add( MPSyncUtility::ID_Source_DEF() );
  *]
}
