Package lupos.gui.operatorgraph.visualeditor.visualrif.guielements.operatorPanel

Examples of lupos.gui.operatorgraph.visualeditor.visualrif.guielements.operatorPanel.ClassificationOperatorPanel


    for(final OperatorIDTuple<Operator> opIDTuple : this.getSucceedingOperators()) {
      if (opIDTuple.getOperator() instanceof UnitermOperator){
        final UnitermOperator child = (UnitermOperator) 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 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);
View Full Code Here


        if (op instanceof VariableOperator){
            final VariableOperator child = (VariableOperator) op; // get current children
            child.setChild(true);
          }
          // 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()) {
View Full Code Here

    for(final OperatorIDTuple<Operator> opIDTuple : this.getSucceedingOperators()) {
      if (opIDTuple.getOperator() instanceof UnitermOperator){
        final UnitermOperator child = (UnitermOperator) 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 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);
      }
    }
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.visualeditor.visualrif.guielements.operatorPanel.ClassificationOperatorPanel

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.