# HG changeset patch # User Felix Wolfsteller # Date 1315293257 0 # Node ID 2c48d75c4ab755eef4400ec9bcea1e059c8dc638 # Parent 67c67890328078a55aa72ce482a8106b38f58f8b Minor cosmetics. flys-client/trunk@2647 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/ChangeLog --- 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 + + 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 + 2011-09-02 Felix Wolfsteller Refactored to allow specialized controls within the ChartThemePanel, stubby diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/src/main/java/de/intevation/flys/client/client/services/FeedService.java --- 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. diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java --- 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); diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultArtifact.java --- 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; /** diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultDataItem.java --- 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; diff -r 67c678903280 -r 2c48d75c4ab7 flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java --- 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) {