changeset 1453:e8aec81af22b

Cosmetics. flys-client/trunk@3478 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 20 Dec 2011 06:55:48 +0000
parents fa63366ba115
children 9152cfb3a54c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java
diffstat 3 files changed, 20 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Dec 20 06:54:49 2011 +0000
+++ b/flys-client/ChangeLog	Tue Dec 20 06:55:48 2011 +0000
@@ -1,3 +1,21 @@
+2011-12-20	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Cosmetics.
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java,
+	  src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java:
+	  Minor, picky cosmetics.
+
+2011-12-20	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Changed area-creation gui (menu) to cover three basic area modes
+	under, over and between. Feed new area.facet data understood by
+	area artifact to discern which diagram we are talking about.
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java:
+	  Create different context menu to create area artifacts, feed
+	  area.facet data item to area artifact.
+
 2011-12-19	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Restore functionality of hand-sorted properties in style dialog,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Tue Dec 20 06:54:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Tue Dec 20 06:55:48 2011 +0000
@@ -360,6 +360,7 @@
     }
 
 
+    /** The properties menu item (opens style editor on click). */
     protected MenuItem createPropertiesItem(final ListGridRecord[] records) {
         MenuItem properties = new MenuItem(MSG.properties());
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Tue Dec 20 06:54:49 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Tue Dec 20 06:55:48 2011 +0000
@@ -57,11 +57,9 @@
 
     public static final int THEMEPANEL_MIN_WIDTH = 200;
 
-
     /** 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. */
     protected ChartInfo chartInfo;
@@ -74,7 +72,6 @@
 
     protected ChartThemePanel ctp;
 
-
     /** The canvas that wraps the chart toolbar. */
     protected Canvas tbarPanel;
 
@@ -86,7 +83,6 @@
 
     protected Img chart;
 
-
     /** Chart zoom options. */
     protected int[] xrange;
     protected int[] yrange;
@@ -604,7 +600,7 @@
         Map<String, String> attr = new HashMap<String, String>();
 
         Canvas chart = getChartPanel();
-        attr.put("width", chart.getWidth().toString());
+        attr.put("width",  chart.getWidth().toString());
         attr.put("height", chart.getHeight().toString());
 
         double[] zoom = getZoomValues();

http://dive4elements.wald.intevation.org