Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 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 |
parents | f1a559d13eef |
children | 9f07f67f60a5 |
line wrap: on
line diff
--- 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);