Mercurial > dive4elements > river
changeset 1585:915ad25f4bb8
Cosmetics.
flys-client/trunk@3871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 01 Feb 2012 15:39:02 +0000 |
parents | 9d6028f96720 |
children | dbdf954dbe94 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java |
diffstat | 3 files changed, 18 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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 <felix.wolfsteller@intevation.de> + + * 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 <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
--- 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());
--- 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. *