Package jade.gui

Examples of jade.gui.GuiEvent


    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);
      ev.addParameter(df);
      ev.addParameter(editedDfd);
      ev.addParameter(constraints);
      gui.myAgent.postGuiEvent(ev);
      gui.setTab("Search",df);
    }
  }
View Full Code Here


      //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);
          ev.addParameter(editedDfd);
          gui.myAgent.postGuiEvent(ev);
           gui.setTab("Federate",null);
        }
    }
 
View Full Code Here

       
      }
      else
      df = gui.myAgent.getDescriptionOfThisDF().getName();

      GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.REGISTER);
      ev.addParameter(df);
      ev.addParameter(editedDfd);
      gui.myAgent.postGuiEvent(ev);

    }
  }
View Full Code Here

      }
      else
        return;
    }
     
    GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.DEREGISTER);
    ev.addParameter(df);
    ev.addParameter(dfd);
    gui.myAgent.postGuiEvent(ev);

  }
View Full Code Here

  }
 
  public void actionPerformed(ActionEvent e)
  {
    //gui.myAgent.postExitEvent((Object) gui);
    GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.EXIT);
    gui.myAgent.postGuiEvent(ev);
  }
View Full Code Here

  }
 
  public void actionPerformed(ActionEvent e)
  {
    //gui.myAgent.postCloseGuiEvent((Object) gui);
    GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.CLOSEGUI);
    gui.myAgent.postGuiEvent(ev);
  }
View Full Code Here

        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);
          ev.addParameter(editedDfd);
          gui.myAgent.postGuiEvent(ev);

        }
   
    }
View Full Code Here

    this.gui = gui;
  }
 
  public void actionPerformed(ActionEvent e)
  {
    GuiEvent ev = new GuiEvent((Object)gui,DFGUIAdapter.REFRESHAPPLET);
    gui.myAgent.postGuiEvent(ev);
  }
View Full Code Here

TOP

Related Classes of jade.gui.GuiEvent

Copyright © 2018 www.massapicom. 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.