diff flys-client/ChangeLog @ 1382:78542ff1f562

Update map and theme panel when new layers are added via datacage or removed by context menu. flys-client/trunk@3155 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 03 Nov 2011 14:51:16 +0000
parents 4459901e4ec0
children a09b7ff5c630
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Nov 01 16:07:39 2011 +0000
+++ b/flys-client/ChangeLog	Thu Nov 03 14:51:16 2011 +0000
@@ -1,3 +1,20 @@
+2011-11-03  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java:
+	  Added methods to add and remove Layer instance to/from Map and grant
+	  public access to createWMSLayer() method.
+
+	* src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java: Moved
+	  code to add new FacetRecords to the grid to an own method
+	  addFacetRecord().
+
+	* src/main/java/de/intevation/flys/client/client/ui/map/MapThemePanel.java:
+	  Override addFacetRecord() to be able to detect new FacetRecords. In this
+	  case, we gonna create new WMS layers based on the FacetRecord and add a
+	  new Layer object to the Map.
+	  Override createRemoveItem() which removes a layer from Map and from
+	  ThemePanel.
+
 2011-11-01  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:

http://dive4elements.wald.intevation.org