Package jade.gui

Examples of jade.gui.GuiEvent.addParameter()


    //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


    //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

    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

      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

   
      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
      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

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

  }
}
 
View Full Code Here

        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

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.