Quintiq file version 2.0
#parent: #root
Method SetID (
  internal[Editor] targeteditor,
  String newname,
  String existingname,
  String existingid
) id:Method_ApplicationLibMacroPlanner_SetID
{
  #keys: '[113694.0.1056591441]'
  Body:
  [*
    // Update EditorID to have EditorName's value
    if( existingid = ''
        or existingname = existingid )
    {
      targeteditor.Text( newname );
    }
  *]
}
