Quintiq file version 2.0
#parent: #root
Method New (
  internal[GUIComponent] parent,
  shadow[LibOpt_Analysis] owner,
  LibOpt_ScopeElement scope_element,
  String tag
) as shadow[LibOpt_AnalysisFilterScopeElement] id:Method_DialogLibOpt_AnalysisFilterScopeElement_New_140
{
  #keys: '[139164.3.2007312811]'
  Body:
  [*
    data := owner.AnalysisFilter( relnew, LibOpt_AnalysisFilterScopeElement );
    data.ScopeElement( relset, scope_element );
    data.Tag( tag );
    
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) < 0 )
    {
      data.Delete();
    }
    
    return data;
  *]
}
