Package easysm.datatypes

Examples of easysm.datatypes.Action


    State source = new State(cPine, true);
    State target = new State(cTupe, false);
    CondReactInfo condReactInfo = new CondReactInfo(null, null);
    CondReact cr = new CondReact(condReactInfo);
    Expr cond = new Expr("cond");
    Action react = new Action("react");
    cr.changeRemCond(cond);
    cr.changeRemReact(react);
    EventInfo eInfo = new EventInfo(cGino, null);
    Event e = new Event(eInfo);
    Transition t = Generator.generateTransition(source, target, e, cr);
View Full Code Here


    State source = new State(cPine, true);
    State target = new State(cTupe, false);
    CondReactInfo condReactInfo = new CondReactInfo(null, null);
    CondReact cr = new CondReact(condReactInfo);
    Expr cond = new Expr("cond");
    Action react = new Action("react");
    cr.changeRemCond(cond);
    cr.changeRemReact(react);
    Transition t = Generator.generateTransition(source, target, Event.CREATED, cr);
    assertTrue(t.source().equals(source));
    assertTrue(t.target().equals(target));
View Full Code Here

  private void jbutton_okActionPerformed(ActionEvent evt)
  {
    CondReactInfo newCr = new CondReactInfo(
        new Expr(jtextarea_condition.getText()),
        new Action(jtextarea_reaction.getText()));

    if (toMod == null) {
      updateEvents.addCondReact(toAddCondReact, newCr);
    } else {
      updateEvents.updateCondReact(toMod, newCr);
View Full Code Here

   
  }
 
  public SplitInfo getSplitInfo() {
    return new SplitInfo(cr, new Expr(jTextArea_cond1.getText()),
        new Action(jTextArea_react1.getText()),
        new Expr(jTextArea_cond2.getText()),
        new Action(jTextArea_react2.getText()));
  }
View Full Code Here

TOP

Related Classes of easysm.datatypes.Action

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.