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

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