Examples of ExistsContainer


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

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

    final ExistsContainer existsContainer = new ExistsContainer();
    existsContainer.setVisualRifEditor(this.visualRifEditor);

    existsContainer.draw(new GraphWrapperOperator(existsContainer),
        (RuleGraph) arg);

    final LinkedList<String> existsVar = new LinkedList<String>();

    final Operator op = (Operator) obj
        .getChildren()
        .get(obj.getChildren().size()-1)
        .accept(this, existsContainer.getRecursiveOperatorGraph());

    for (int i = 0 ; i < obj.getChildren().size()-1; i++){
      existsVar.add(obj.getChildren().get(i).getLabel().substring(1));
      existsContainer.addOperator(op);
    }
    return existsContainer;
  }
View Full Code Here

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

          rootListRight.add(gwo);
        }

        // Exists
        if ( right instanceof ExistsContainer ){
          final ExistsContainer existsContainer = (ExistsContainer) right;
          final GraphWrapperOperator gwo = new GraphWrapperOperator(existsContainer);
          rootListRight.add(gwo);
        }

View Full Code Here

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

      // Exists
      if (operatorObject.has("OP TYPE")
          && operatorObject.getString("OP TYPE").equals(
              "exists")) {
        final ExistsContainer existsContainer = new ExistsContainer();
        existsContainer.setVisualRifEditor(this.visualRifEditor);
        existsContainer.fromJSON(operatorObject.getJSONObject("OPERATORGRAPH"));
        op = existsContainer;
      }

      // Variable
      if (operatorObject.has("OP TYPE")
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.