Mercurial > dive4elements > river
changeset 855:2c48d75c4ab7
Minor cosmetics.
flys-client/trunk@2647 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 06 Sep 2011 07:14:17 +0000 (2011-09-06) |
parents | 67c678903280 |
children | ec5c75da5c7a |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java |
diffstat | 6 files changed, 34 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/ChangeLog Tue Sep 06 07:14:17 2011 +0000 @@ -1,3 +1,16 @@ +2011-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Minor cosmetics. + + * src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java, + src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java, + src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java, + src/main/java/de/intevation/flys/client/client/services/FeedService.java, + src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: + Minor cosmetics. + +2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> + 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Refactored to allow specialized controls within the ChartThemePanel, stubby
--- a/flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java Tue Sep 06 07:14:17 2011 +0000 @@ -14,7 +14,7 @@ public interface FeedService extends RemoteService { /** - * This method inserts new data into the an existing artifact. + * Inserts new data into an existing artifact. * * @param serverUrl The url of the artifact server. * @param locale The locale used for the request.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java Tue Sep 06 07:14:17 2011 +0000 @@ -41,7 +41,9 @@ */ public class ChartOutputTab extends OutputTab -implements ResizedHandler, OutputParameterChangeHandler, ZoomHandler, +implements ResizedHandler, + OutputParameterChangeHandler, + ZoomHandler, PanHandler { public static final int DEFAULT_CHART_WIDTH = 600; @@ -50,34 +52,34 @@ public static final int THEMEPANEL_MIN_WIDTH = 200; - /** The service that is used to fetch chart information.*/ + /** The service that is used to fetch chart information. */ protected ChartInfoServiceAsync info = GWT.create(ChartInfoService.class); /** The ChartInfo object that provides information about the current - * chart.*/ + * chart. */ protected ChartInfo chartInfo; - /** The transformer used to transform image pixels into chart coordinates.*/ + /** Transformer used to transform image pixels into chart coordinates. */ protected Transform2D[] transformer; /** The collection view.*/ protected CollectionView view; - /** The canvas that wraps the chart toolbar.*/ + /** The canvas that wraps the chart toolbar. */ protected Canvas tbarPanel; - /** The canvas that wraps the theme editor.*/ + /** The canvas that wraps the theme editor. */ protected Canvas left; - /** The canvas that wraps the chart.*/ + /** The canvas that wraps the chart. */ protected Canvas right; protected Img chart; - /** Chart zoom options.*/ + /** Chart zoom options. */ protected int[] xrange; protected int[] yrange; @@ -90,6 +92,7 @@ * @param title The title of this tab. * @param collection The Collection which this chart belongs to. * @param mode The OutputMode. + * @param collvetionView The shown collection. */ public ChartOutputTab( String title, @@ -122,6 +125,8 @@ hLayout.addMember(left); hLayout.addMember(right); + // TODO Spawn a specific ThemePanel subclass (e.g. "actions" column is + // not needed in all cases. ChartThemePanel ctp = new ChartThemePanel(collection, mode); ctp.addOutputParameterChangeHandler(this);
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java Tue Sep 06 07:14:17 2011 +0000 @@ -8,13 +8,13 @@ */ public class DefaultArtifact implements Artifact { - /** The artifact's uuid.*/ + /** The artifact's uuid. */ protected String uuid; - /** The artifacts hash value.*/ + /** The artifacts hash value. */ protected String hash; - /** The current artifact description.*/ + /** The current artifact description. */ protected ArtifactDescription artifactDescription; /**
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java Tue Sep 06 07:14:17 2011 +0000 @@ -9,13 +9,13 @@ */ public class DefaultDataItem implements DataItem { - /** The label.*/ + /** The label. */ protected String label; - /** The description.*/ + /** The description. */ protected String description; - /** The value.*/ + /** The value. */ protected String value;
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Fri Sep 02 13:20:06 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Tue Sep 06 07:14:17 2011 +0000 @@ -10,7 +10,7 @@ */ public class FacetRecord extends ListGridRecord { - protected Theme theme; + protected Theme theme; public FacetRecord(Theme theme) {