Package lupos.gui.operatorgraph.visualeditor.visualrif.util

Examples of lupos.gui.operatorgraph.visualeditor.visualrif.util.GraphWrapperOperator


        final String[] comboBoxEntries) {
      final Term term = new Term();
      term.setList(true);
      term.setAbstractTermOperator(listOperator);
      term.setComboEntries(comboBoxEntries);
      term.setSucceedingOperator(new GraphWrapperOperator(listOperator));
      this.addSucceedingOperator(new OperatorIDTuple<Operator>(listOperator, 0));
      listOperator.addPrecedingOperator(this);
      return term;
    }
View Full Code Here


        final String[] comboBoxEntries) {
      final Term term = new Term();
      term.setFrame(true);
      term.setAbstractTermOperator(listOperator);
      term.setComboEntries(comboBoxEntries);
      term.setSucceedingOperator(new GraphWrapperOperator(listOperator));
      this.addSucceedingOperator(new OperatorIDTuple<Operator>(listOperator, 0));
      listOperator.addPrecedingOperator(this);
      return term;
    }
View Full Code Here

          }
          // create predicate panel...
          final ClassificationOperatorPanel classificationOperatorPanel = new ClassificationOperatorPanel(parent, this, op);
          this.annotationLabels.put(op, classificationOperatorPanel);
          // add predicate panel to hash table with its GraphWrapper...
          predicates.put(new GraphWrapperOperator(op), classificationOperatorPanel);
      }
      for(final Operator op : this.getTermSucceedingElements()) {
        final GraphWrapper gw = new GraphWrapperOperator(this);
        final GraphWrapper childGW = new GraphWrapperOperator(op);
        System.out.println("AbstractTermOperator.drawAnnotations() : this.getTermSucceedingElements()");
        if (op instanceof AbstractTermOperator){
          final AbstractTermOperator child = (AbstractTermOperator) op; // get current children
          child.setChild(true);
        }
View Full Code Here

        child.setChild(true);
        // create predicate panel...
        final ClassificationOperatorPanel classificationOperatorPanel = new ClassificationOperatorPanel(parent, this, child);
        this.annotationLabels.put(child, classificationOperatorPanel);
        // add predicate panel to hash table with its GraphWrapper...
        predicates.put(new GraphWrapperOperator(child), classificationOperatorPanel);
      }
      if (opIDTuple.getOperator() instanceof ConstantOperator){
        final ConstantOperator child = (ConstantOperator) opIDTuple.getOperator(); // get current children
        child.setChild(true);
        // create predicate panel...
        final ClassificationOperatorPanel classificationOperatorPanel = new ClassificationOperatorPanel(parent, this, child);
        this.annotationLabels.put(child, classificationOperatorPanel);
        // add predicate panel to hash table with its GraphWrapper...
        predicates.put(new GraphWrapperOperator(child), classificationOperatorPanel);
      }
      if (opIDTuple.getOperator() instanceof VariableOperator){
        final VariableOperator child = (VariableOperator) opIDTuple.getOperator(); // get current children
        child.setChild(true);
        // create predicate panel...
        final ClassificationOperatorPanel classificationOperatorPanel = new ClassificationOperatorPanel(parent, this, child);
        this.annotationLabels.put(child, classificationOperatorPanel);
        // add predicate panel to hash table with its GraphWrapper...
        predicates.put(new GraphWrapperOperator(child), classificationOperatorPanel);
      }
      if (opIDTuple.getOperator() instanceof ListOperator){
        final ListOperator child = (ListOperator) opIDTuple.getOperator(); // get current children
        child.setChild(true);
        // create predicate panel...
        final ClassificationOperatorPanel classificationOperatorPanel = new ClassificationOperatorPanel(parent, this, child);
        this.annotationLabels.put(child, classificationOperatorPanel);
        // add predicate panel to hash table with its GraphWrapper...
        predicates.put(new GraphWrapperOperator(child), classificationOperatorPanel);
      }
    }
    return predicates;
  }
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.visualeditor.visualrif.util.GraphWrapperOperator

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.