insertDlg.setTitle("Insert the AID of the DF with which federate");
AID parent = insertDlg.ShowAIDGui(null,true,true);
if (parent != null)
{
DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);
//FIXME the AID should not be editable
editedDfd = dlg.ShowDFDGui(dfd,true,true);
if (editedDfd != null)
{
GuiEvent ev = new GuiEvent((Object)gui, DFGUIAdapter.FEDERATE);
ev.addParameter(parent);