diff flys-artifacts/src/main/java/de/intevation/flys/utils/MapfileGenerator.java @ 2616:27cc95e65f18

Defined a style for WSPLGEN layers which are now modifiable. flys-artifacts/trunk@4200 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 05 Apr 2012 07:21:58 +0000
parents a5f87f8dbe57
children baaf7d125c43
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/MapfileGenerator.java	Wed Apr 04 18:30:44 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/MapfileGenerator.java	Thu Apr 05 07:21:58 2012 +0000
@@ -364,8 +364,11 @@
      * @param flys The FLYSArtifact that owns <i>wms</i>.
      * @param wms The WMSLayerFacet that contains information for the layer.
      */
-    public void createUeskLayer(FLYSArtifact flys, WMSLayerFacet wms)
-    throws FileNotFoundException, IOException
+    public void createUeskLayer(
+        FLYSArtifact  flys,
+        WMSLayerFacet wms,
+        String        style
+    ) throws FileNotFoundException, IOException
     {
         logger.debug("createUeskLayer");
 
@@ -375,6 +378,7 @@
         layerinfo.setDirectory(flys.identifier());
         layerinfo.setData(WSPLGEN_RESULT_SHAPE);
         layerinfo.setTitle("I18N_WSPLGEN_RESULT");
+        layerinfo.setStyle(style);
 
         String name = MS_LAYER_PREFIX + wms.getName();
 

http://dive4elements.wald.intevation.org