Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
1792:49ad801076e4 | 1793:1636686070f7 |
---|---|
8 protected String directory; | 8 protected String directory; |
9 protected String data; | 9 protected String data; |
10 protected String group; | 10 protected String group; |
11 protected String groupTitle; | 11 protected String groupTitle; |
12 protected String title; | 12 protected String title; |
13 protected String style; | |
13 | 14 |
14 | 15 |
15 public LayerInfo( | 16 public LayerInfo( |
16 String name, | 17 String name, |
17 String type, | 18 String type, |
75 public String getTitle() { | 76 public String getTitle() { |
76 return title; | 77 return title; |
77 } | 78 } |
78 | 79 |
79 | 80 |
81 public void setStyle(String style) { | |
82 this.style = style; | |
83 } | |
84 | |
85 | |
80 public String getStyle() { | 86 public String getStyle() { |
81 // TODO IMPLEMENT ME | 87 return style; |
82 // The style of a layer depends on the theme that might be configured | |
83 // by the user (stored in the attribute of the CollectionItem). | |
84 return null; | |
85 } | 88 } |
86 } | 89 } |
87 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 90 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |