Package lupos.gui.operatorgraph.visualeditor.ruleeditor.operators

Examples of lupos.gui.operatorgraph.visualeditor.ruleeditor.operators.JumpOverOperator


    if(!super.validateOperatorPanel(showErrors, data)) {
      return false;
    }

    if(this.getParentQG() == ((RuleEditorPane) this.getParentQG().visualEditor).getVisualGraphs().get(0)) {
      JumpOverOperator jumpOp = (JumpOverOperator) this.operator;

      if(this.cardinality_oneORnone.isSelected()) {
        jumpOp.setCardinality("?");
      }
      else if(this.cardinality_oneORmore.isSelected()) {
        jumpOp.setCardinality("+");
      }
      else if(this.cardinality_noneORmore.isSelected()) {
        jumpOp.setCardinality("*");
      }
    }

    return true;
  }
View Full Code Here


      JSONObject ruleOpLoadObject = loadObject.getJSONObject(ruleOpName);

      AbstractRuleOperator op;

      if(ruleOpLoadObject.has("op type") && ruleOpLoadObject.getString("op type").equals("JumpOverOperator")) {
        op = new JumpOverOperator(ruleOpName, ruleOpLoadObject);
      }
      else {
        op = new RuleOperator(ruleOpName, ruleOpLoadObject);
      }
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.visualeditor.ruleeditor.operators.JumpOverOperator

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.