Examples of DFAgentDscDlg


Examples of jade.gui.DFAgentDscDlg

    SearchConstraints constraints = constraintsGui.setConstraint();
   
    if(constraints == null) //pressed the cancel button
      return;
     
    DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);
 
    DFAgentDescription editedDfd = dlg.ShowDFDGui(null,true,false); //checkMandatorySlots = false

    //If no df is selected, the df of the platform is used.
    if (editedDfd != null)
    { 
      GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.SEARCH);
View Full Code Here

Examples of jade.gui.DFAgentDscDlg

    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);
View Full Code Here

Examples of jade.gui.DFAgentDscDlg

  }
 
  public void actionPerformed(ActionEvent e)
  { 
    AID df;
    DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);
    DFAgentDescription editedDfd = dlg.ShowDFDGui(null,true,true);
 
    if (editedDfd != null)
    {
      int kind = gui.kindOfOperation();
   
View Full Code Here

Examples of jade.gui.DFAgentDscDlg

          dfd = gui.getDFAgentSearchDsc(name); // the dsc is maintained in a variable of the gui
          df = gui.getLastDF();
        }
     

        DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);
        DFAgentDescription editedDfd = dlg.ShowDFDGui(dfd,true,true);
       
        if (editedDfd != null)
        {
          GuiEvent ev = new GuiEvent((Object)gui, DFGUIAdapter.MODIFY);
          ev.addParameter(df);
View Full Code Here

Examples of jade.gui.DFAgentDscDlg

      else //nothing selected
        return;

      if(dfd != null && kind != -1)
      {
        DFAgentDscDlg dlg = new DFAgentDscDlg((Frame) gui);
        dlg.ShowDFDGui(dfd,false,false);
      }
     
   
   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.