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

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



      // ListOperator
      if( comp[i] instanceof ListOperatorPanel ){

        final ListOperatorPanel lop = (ListOperatorPanel) comp[i];

        for (int j = 0; j < lop.getListOperator().getTerms().size(); j++) {

          if((lop.getListOperator().getTerms().get(j).isVariable()) &&  !this.listContainsElement(varTerms,lop.getListOperator().getTerms().get(j).getValue())){
            varTerms.add(lop.getListOperator().getTerms().get(j));
          }

        }

      } // end ListOperator
View Full Code Here



      // ListOperator
      if( comp[i] instanceof ListOperatorPanel ){

        final ListOperatorPanel lop = (ListOperatorPanel) comp[i];

        for (int j = 0; j < lop.getListOperator().getTerms().size(); j++) {

          if(lop.getListOperator().getTerms().get(j).isVariable() && !this.listContainsElement(varTerms,lop.getListOperator().getTerms().get(j).getValue())){
            varTerms.add(lop.getListOperator().getTerms().get(j));
          }

        }

      } // end ListOperator
View Full Code Here


      // ListOperator
      if( comp[i] instanceof ListOperatorPanel ){

        final ListOperatorPanel lop = (ListOperatorPanel) comp[i];

        for (int j = 0; j < lop.getListOperator().getTerms().size(); j++) {

          if(!this.listContainsElement(varTerms,lop.getListOperator().getTerms().get(j).getValue())){
            varTerms.add(lop.getListOperator().getTerms().get(j));
          }

        }

      } // end ListOperator
View Full Code Here

      opY = fop.getY();
      distance = 50;
    }
    if (ato instanceof ListOperator) {
      ListOperator lo = (ListOperator) ato;
      ListOperatorPanel lop = lo.getListOperatorPanel();
      width = lop.getWidth();
      height = lop.getHeight();
      opX = lop.getX();
      opY = lop.getY();
      distance = 90;
    }
   
    // case: child behind operator
    if ( opX < xChild && xChild < (opX+width) && opY < yChild && yChild < (opY+height) ){
View Full Code Here


  @Override
  public AbstractGuiComponent<Operator> draw(GraphWrapper gw,
      VisualGraph<Operator> parent) {
    this.panel = new ListOperatorPanel(parent, gw, this,
         this.startNode,
        this.alsoSubClasses,this.visualRifEditor);
    return this.panel;
  }
View Full Code Here

TOP

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

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.