Package lupos.gui.operatorgraph.visualeditor.visualrif.operators

Examples of lupos.gui.operatorgraph.visualeditor.visualrif.operators.OrContainer


  @Override
  public Object visit(final Disjunction obj, final Object arg) throws RIFException {
    System.out.println("visit(Disjunction obj, Object arg)");

    final OrContainer orContainer = new OrContainer();
    orContainer.setVisualRifEditor(this.visualRifEditor);

    orContainer.draw(new GraphWrapperOperator(orContainer),
        (RuleGraph) arg);
    for (int i = 0; i < obj.getChildren().size(); i++) {
      orContainer.addOperator((Operator) obj.getChildren().get(i).accept(this, orContainer.getRecursiveOperatorGraph()));
    }
    return orContainer;
  }
View Full Code Here


          rootListRight.add(gwo);
        }

        // OR
        if ( right instanceof OrContainer ){
          final OrContainer orContainer = (OrContainer) right;
          final GraphWrapperOperator gwo = new GraphWrapperOperator(orContainer);
          rootListRight.add(gwo);
        }

        // Exists
View Full Code Here

      // Or
      if (operatorObject.has("OP TYPE")
          && operatorObject.getString("OP TYPE").equals(
              "or")) {
        final OrContainer orContainer = new OrContainer();
        orContainer.setVisualRifEditor(this.visualRifEditor);
        orContainer.fromJSON(operatorObject.getJSONObject("OPERATORGRAPH"));
        op = orContainer;
      }

      // Exists
      if (operatorObject.has("OP TYPE")
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.visualeditor.visualrif.operators.OrContainer

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.