# HG changeset patch # User Felix Wolfsteller # Date 1328110742 0 # Node ID 915ad25f4bb822e1fd96ca0d0f21d954a08ae907 # Parent 9d6028f967200fe8de2872f7259a598d0013854e Cosmetics. flys-client/trunk@3871 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 9d6028f96720 -r 915ad25f4bb8 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Feb 01 15:00:53 2012 +0000 +++ b/flys-client/ChangeLog Wed Feb 01 15:39:02 2012 +0000 @@ -1,3 +1,9 @@ +2012-02-01 Felix Wolfsteller + + * src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java, + src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java: + Cosmetics. + 2012-02-01 Felix Wolfsteller * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, diff -r 9d6028f96720 -r 915ad25f4bb8 flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java Wed Feb 01 15:00:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java Wed Feb 01 15:39:02 2012 +0000 @@ -98,7 +98,7 @@ /** * This method creates the content of the widget. * - * @param data The {@link Data} object. + * @param data The {@link DataList} object. * * @return a combobox. */ @@ -139,6 +139,7 @@ defaultSet = true; } + // I was here. for (DataItem item: d.getItems()) { if (!defaultSet && first) { initial.put(d.getLabel(), item.getStringValue()); diff -r 9d6028f96720 -r 915ad25f4bb8 flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java Wed Feb 01 15:00:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java Wed Feb 01 15:39:02 2012 +0000 @@ -65,34 +65,35 @@ extends AbstractUIProvider implements FilterHandler { - /** The message class that provides i18n strings.*/ + /** The message class that provides i18n strings. */ protected FLYSConstants MESSAGES = GWT.create(FLYSConstants.class); - /** The DistanceInfoService used to retrieve locations about rivers.*/ + /** The DistanceInfoService used to retrieve locations about rivers. */ protected DistanceInfoServiceAsync distanceInfoService = GWT.create(DistanceInfoService.class); - /** A container that will contain the location or the distance panel.*/ + /** A container that will contain the location or the distance panel. */ protected HLayout container; - /** The minimal value that the user is allowed to enter.*/ + /** The minimal value that the user is allowed to enter. */ protected double min; - /** The maximal value that the user is allowed to enter.*/ + /** The maximal value that the user is allowed to enter. */ protected double max; - /** The values entered in the location mode.*/ + /** The values entered in the location mode. */ protected double[] values; - /** The input panel for locations */ + /** The input panel for locations. */ protected DoubleArrayPanel locationPanel; - /** The locations table */ + /** The locations table. */ protected ListGrid locationTable; /** The table data. */ protected DistanceInfoObject[] tableData; + /** Text to show number of matched items when filtered. */ protected StaticTextItem filterResultCount; /** @@ -107,7 +108,7 @@ /** * This method creates a widget that contains a label, a panel with * checkboxes to switch the input mode between location and distance input, - * and a the mode specific panel. + * and a mode specific panel. * * @param data The data that might be inserted. *