# HG changeset patch # User Felix Wolfsteller # Date 1342550682 0 # Node ID 36cd7d88551acac5cf471f60af66fac81caea359 # Parent 8c7cf6b84ba0d296ff547a4fac8430b8279822cc Added bandwidth field, i18n. flys-client/trunk@5026 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/ChangeLog --- a/flys-client/ChangeLog Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/ChangeLog Tue Jul 17 18:44:42 2012 +0000 @@ -1,3 +1,14 @@ +2012-07-17 Felix Wolfsteller + + * main/java/de/intevation/flys/client/client/FLYSConstants.java, + main/java/de/intevation/flys/client/client/FLYSConstants.properties, + main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, + main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Added i18n strings for bandwidth. + + * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: + Include bandwidth field. + 2012-07-17 Christian Lins * src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java: diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Tue Jul 17 18:44:42 2012 +0000 @@ -859,6 +859,8 @@ String pointsize(); + String bandwidth(); + String pointcolor(); String showlines(); diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Tue Jul 17 18:44:42 2012 +0000 @@ -438,6 +438,7 @@ textorientation = Textorientation linesize = Linesize pointsize = Pointsize +bandwidth = Bandwidth pointcolor = Punktfarbe showlines = Show lines showlinelabel = Show line label diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Tue Jul 17 18:44:42 2012 +0000 @@ -438,6 +438,7 @@ textorientation = Textausrichtung linesize = Liniendicke pointsize = Punktdicke +bandwidth = Bandbreite pointcolor = Punktfarbe showlines = Linien anzeigen showlinelabel = Linienbeschriftung anzeigen diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Tue Jul 17 18:44:42 2012 +0000 @@ -440,6 +440,7 @@ textorientation = Textorientation linesize = Linesize pointsize = Pointsize +bandwidth = Bandwidth pointcolor = Pointcolor showlines = Show lines showlinelabel = Show label diff -r 8c7cf6b84ba0 -r 36cd7d88551a flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Tue Jul 17 11:47:17 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Tue Jul 17 18:44:42 2012 +0000 @@ -290,7 +290,8 @@ "linelabelsize", "linelabelstyle", "linelabelshowbg", - "linelabelbgcolor"}; + "linelabelbgcolor", + "bandwidth"}; for (String settingName: sets) { StyleSetting set = style.getSetting(settingName); @@ -362,6 +363,22 @@ valueMap.put("24", "24"); f.setValueMap(valueMap); } + else if (name.equals("bandwidth")) { + LinkedHashMap valueMap = new LinkedHashMap(); + valueMap.put("0", "0"); + valueMap.put("1", "1"); + valueMap.put("2", "2"); + valueMap.put("3", "3"); + valueMap.put("4", "4"); + valueMap.put("5", "5"); + valueMap.put("6", "6"); + valueMap.put("7", "7"); + valueMap.put("8", "8"); + valueMap.put("9", "9"); + valueMap.put("10", "10"); + valueMap.put("11", "11"); + f.setValueMap(valueMap); + } else if (name.equals("pointsize")) { LinkedHashMap valueMap = new LinkedHashMap(); valueMap.put("1", "1");