# HG changeset patch # User Felix Wolfsteller # Date 1360830591 -3600 # Node ID e70ff0a600a3b8cdff9ff0b38ec2588c505174bd # Parent 4c76c5f69eafa4f76be6ba6ccbf82da959e9f623 flys-client: Whitespace and doc cosemtics. diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java Thu Feb 14 09:29:51 2013 +0100 @@ -33,15 +33,16 @@ /** The number of pixels used to move windows.*/ public static int WINDOW_OFFSET = 20; - /** A map that contains the open CollectionViews. */ protected Map views; /** The interface that provides the message resources. */ private FLYSConstants MESSAGES = GWT.create(FLYSConstants.class); + /** Application instance. */ private FLYS flys; + /** * The default constructor creates an empty FLYSWorkspace with no * CollectionViews opened. diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Thu Feb 14 09:29:51 2013 +0100 @@ -343,12 +343,12 @@ setLocationValues(selected); } + /** * Returns the label string for the input panel. */ protected String getLabelString() { return MSG.location(); } - } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/RiverInfoPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/RiverInfoPanel.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/RiverInfoPanel.java Thu Feb 14 09:29:51 2013 +0100 @@ -14,14 +14,11 @@ import de.intevation.flys.client.shared.model.RiverInfo; /** + * Panel to display information about a river. * @author Björn Ricks */ public class RiverInfoPanel extends HorizontalPanel { - /** - * Panel to display information about a river - */ - /** The message class that provides i18n strings.*/ protected FLYSConstants MSG = GWT.create(FLYSConstants.class); diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java Thu Feb 14 09:29:51 2013 +0100 @@ -28,10 +28,8 @@ public static final int BUTTON_MARGIN = 5; private static final int BOTTON_WIDTH = 20; - protected FLYSConstants MSG = GWT.create(FLYSConstants.class); - protected List handlers; diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java Thu Feb 14 09:29:51 2013 +0100 @@ -404,3 +404,5 @@ } } } +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : + diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeListGrid.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeListGrid.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeListGrid.java Thu Feb 14 09:29:51 2013 +0100 @@ -254,7 +254,7 @@ } /** - * Open Gauge entry if a location fits to the gauge + * Open Gauge entry if a location fits to the gauge. */ public void openOnLocations(List locations) { GWT.log("GaugeListGrid - openOnLocations " + locations); diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java Thu Feb 14 09:29:51 2013 +0100 @@ -29,7 +29,7 @@ } /** - * Loads the river info and renders it afterwards + * Loads the river info and renders it afterwards. */ public void refresh() { contract(); @@ -48,5 +48,4 @@ } }); } - } diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java Thu Feb 14 09:29:51 2013 +0100 @@ -54,7 +54,7 @@ } /** - * Sets and loads the river data if river is not the current set river + * Sets and loads the river data if river is not the current set river. */ public void setRiver(String river) { if (!river.equals(this.river)) { @@ -64,7 +64,7 @@ } /** - * Sets the data and closes not corresponding folds in the gauge tree + * Sets the data and closes not corresponding folds in the gauge tree. */ public void setData(DataList[] data) { this.listgrid.setData(data); @@ -121,14 +121,14 @@ } /** - * Expands the gauge section + * Expands the gauge section. */ public void expand() { section.setExpanded(true); } /** - * Contracts/shrinks the expanded gauge section + * Contracts/shrinks the expanded gauge section. */ public void contract() { section.setExpanded(false); diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java --- a/flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java Thu Feb 14 09:29:51 2013 +0100 @@ -37,7 +37,6 @@ private static final Logger logger = Logger.getLogger(WQInfoServiceImpl.class); - public static final String ERROR_NO_WQINFO_FOUND = "error_no_wqinfo_found"; diff -r 4c76c5f69eaf -r e70ff0a600a3 flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java --- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java Mon Feb 11 15:29:30 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java Thu Feb 14 09:29:51 2013 +0100 @@ -8,69 +8,69 @@ public interface GaugeInfo extends Serializable { /** - * Returns the name of the gauge + * Returns the name of the gauge. */ String getName(); /** - * Returns the start KM of the gauge or null if not available + * Returns the start KM of the gauge or null if not available. */ Double getKmStart(); /** - * Returns the end KM of the gauge or null if not available + * Returns the end KM of the gauge or null if not available. */ Double getKmEnd(); /** - * Returns the mimimum Q value at this gauge or null if not available + * Returns the mimimum Q value at this gauge or null if not available. */ Double getMinQ(); /** - * Returns the maximum Q value at this gauge or null if not available + * Returns the maximum Q value at this gauge or null if not available. */ Double getMaxQ(); /** - * Returns the mimimum W value at this gauge or null if not available + * Returns the mimimum W value at this gauge or null if not available. */ Double getMinW(); /** - * Returns the maximim W value at this gauge or null if not available + * Returns the maximim W value at this gauge or null if not available. */ Double getMaxW(); /** - * Returns the datum value or null if not available + * Returns the datum value or null if not available. */ Double getDatum(); /** - * Returns the aeo value or null if not available + * Returns the aeo value or null if not available. */ Double getAeo(); boolean isKmUp(); /** - * Returns the station km of the gauge or null if not available + * Returns the station km of the gauge or null if not available. */ Double getStation(); /** - * Returns the wst unit as a String + * Returns the wst unit as a String. */ String getWstUnit(); /** - * Returns the official number of this gauge + * Returns the official number of this gauge. */ Long getOfficialNumber(); /** - * Returns the river to which this gauge belongs + * Returns the river to which this gauge belongs. */ String getRiverName(); }