diff flys-client/ChangeLog @ 1412:659a488243da

Added code to trigger loading selected WMS layers from ExternalWMSWindow. Note: no code for loading/adding layers to the current map existing yet. flys-client/trunk@3299 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 22 Nov 2011 13:04:46 +0000
parents 63be3137abac
children 0d3bbe4240b1
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Nov 21 21:00:03 2011 +0000
+++ b/flys-client/ChangeLog	Tue Nov 22 13:04:46 2011 +0000
@@ -1,3 +1,24 @@
+2011-11-22  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/ExternalWMSWindow.java:
+	  Defined an internal interface LayerLoader to load selected WMSLayers of
+	  the tree. The constructor of ExternalWMSWindow now requires an instance
+	  of LayerLoader. The "go on" button in the layer panel will finally
+	  trigger the LayerLoader.load() method.
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java:
+	  Implements the ExternalWMSWindow.LayerLoader interface to add the
+	  selected WMS layers to the map. TODO: implement code to load/add layers.
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/WMSLayersTree.java:
+	  Added an inner class WMSLayerNode that extends TreeNode with the
+	  addition to save a WMSLayer object. The reason here: we want to have all
+	  information of the selected WMS layers for loading mechanisms.
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java:
+	  Modified the constructor call of ExternalWMSWindow. The MapOutputTab is
+	  used as ExternalWMSWindow.LayerLoader.
+
 2011-11-21  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java: New.

http://dive4elements.wald.intevation.org