Quintiq file version 2.0
#parent: #root
Method GetGUIExtractor (
  internal[Menu] menu
) as internal[GUIDataExtractor] id:Method_LibOpt_FormScopeElement_GetGUIExtractor
{
  #keys: '[139164.0.1993285612]'
  Body:
  [*
    result := null( GUIDataExtractor );
    if( menu = MenuScope )
    {
      result := GUIDataExtractorListScope;
    }                                     
    else if( menu = MenuSnapshotInputScope )
    {
      result := GUIDataExtractorListSnapshotInput;
    }
    else if( menu = MenuSnapshotOutputScope )
    {
      result := GUIDataExtractorListSnapshotOutput;
    }
    else if( menu = MenuRunStartScope )
    {
      result := GUIDataExtractorListStartScope;
    }
    
    return result;
  *]
}
