Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Edit ( 
 | 
  internal[GUIComponent] parent, 
 | 
  UserImportProfile selection 
 | 
) id:Method_DialogImportObjectGroupInProfile_Edit 
 | 
{ 
 | 
  #keys: '[132894.0.15427442]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Edit selected UserImportProfile 
 | 
     
 | 
    data := shadow( selection ); 
 | 
     
 | 
    Dialog.Data( data ); 
 | 
     
 | 
    if ( Dialog.DoModal( parent ) > 0 ) 
 | 
    { 
 | 
      data.Commit(); 
 | 
      // update edited profile name type index 
 | 
      selection.UpdateTypeIndex( EditorName.Text() ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |