void calculatePressed(ActionEvent e){
  if (checkEditConditional()) {
    return;
  }
  if (numConditionals > 0) {
    String cName="";
    Conditional c=null;
    for (int i=0; i < numConditionals; i++) {
      cName=_curLogix.getConditionalByNumberOrder(i);
      if (cName != null) {
        c=_conditionalManager.getBySystemName(cName);
        if (c == null) {
          log.error("Invalid conditional system name when calculating - " + cName);
        }
 else {
          c.calculate(false,null);
        }
      }
 else {
        log.error("null conditional system name when calculating");
      }
    }
    conditionalTableModel.fireTableDataChanged();
  }
}

void calculatePressed ( ActionEvent e ) { if ( checkEditConditional ( ) ) { return ; } if ( numConditionals > 0 ) { String cName = "" ; Conditional c = null ; for ( int i = 0 ; i < numConditionals ; i ++ ) { cName = _curLogix . getConditionalByNumberOrder ( i ) ; if ( cName != null ) { c = _conditionalManager . getBySystemName ( cName ) ; if ( c == null ) { log . error ( "Invalid conditional system name when calculating - " + cName ) ; } else { c . calculate ( false , null ) ; } } else { log . error ( "null conditional system name when calculating" ) ; } } conditionalTableModel . fireTableDataChanged ( ) ; } }
responds to the calculate button in the edit logix window
