diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1793:1636686070f7

Initial commit to support styles in maps. flys-artifacts/trunk@3116 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 28 Oct 2011 14:42:24 +0000
parents c8c753931514
children 5364b86a0880
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java	Fri Oct 28 13:48:02 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java	Fri Oct 28 14:42:24 2011 +0000
@@ -10,6 +10,7 @@
     protected String group;
     protected String groupTitle;
     protected String title;
+    protected String style;
 
 
     public LayerInfo(
@@ -77,11 +78,13 @@
     }
 
 
+    public void setStyle(String style) {
+        this.style = style;
+    }
+
+
     public String getStyle() {
-        // TODO IMPLEMENT ME
-        // The style of a layer depends on the theme that might be configured
-        // by the user (stored in the attribute of the CollectionItem).
-        return null;
+        return style;
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org