public void fillFieldValues(List<SynapseUpdateRule> ruleList){
  OjaRule synapseRef=(OjaRule)ruleList.get(0);
  if (!NetworkUtils.isConsistent(ruleList,OjaRule.class,"getNormalizationFactor")) {
    tfNormalize.setText(SimbrainConstants.NULL_STRING);
  }
 else {
    tfNormalize.setText(Double.toString(synapseRef.getNormalizationFactor()));
  }
  if (!NetworkUtils.isConsistent(ruleList,OjaRule.class,"getLearningRate")) {
    tfLearningRate.setText(SimbrainConstants.NULL_STRING);
  }
 else {
    tfLearningRate.setText(Double.toString(synapseRef.getLearningRate()));
  }
}

public void fillFieldValues ( List < SynapseUpdateRule > ruleList ) { OjaRule synapseRef = ( OjaRule ) ruleList . get ( 0 ) ; if ( ! NetworkUtils . isConsistent ( ruleList , OjaRule . class , "getNormalizationFactor" ) ) { tfNormalize . setText ( SimbrainConstants . NULL_STRING ) ; } else { tfNormalize . setText ( Double . toString ( synapseRef . getNormalizationFactor ( ) ) ) ; } if ( ! NetworkUtils . isConsistent ( ruleList , OjaRule . class , "getLearningRate" ) ) { tfLearningRate . setText ( SimbrainConstants . NULL_STRING ) ; } else { tfLearningRate . setText ( Double . toString ( synapseRef . getLearningRate ( ) ) ) ; } }
populate fields with current data .
