From: elee <gk...@us...> - 2008-06-11 20:04:59
|
Update of /cvsroot/gmod/apollo/src/java/apollo/config In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv2109/config Modified Files: FeatureProperty.java Log Message: + Fixed annotation/feature label color bug where the changes were not being stored correctly + "Minimum score to display" was incorrect. It's actually the minimum score to scale. Changed the display label accordingly. Also added the maximum score to scale to complement the minimum score one Index: FeatureProperty.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/config/FeatureProperty.java,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** FeatureProperty.java 10 Jun 2008 23:11:33 -0000 1.38 --- FeatureProperty.java 11 Jun 2008 20:04:56 -0000 1.39 *************** *** 614,620 **** } ! public void setMaxScore(float max) { this.maxScore = max; ! firePropSchemeChangeEvent(); } --- 614,626 ---- } ! public void setMaxScore(float max, boolean isTemporary) { this.maxScore = max; ! if (!isTemporary) { ! firePropSchemeChangeEvent(); ! } ! } ! ! public void setMaxScore(float max) { ! setMaxScore(max, false); } |