comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java @ 575:5277f46a63c2

The description of a facet is now displayed in the ChartThemePanel. flys-client/trunk@2141 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Jun 2011 09:57:23 +0000
parents ba238f917b94
children 374712890b94
comparison
equal deleted inserted replaced
574:3629d36f0e5d 575:5277f46a63c2
17 17
18 public FacetRecord(Theme theme) { 18 public FacetRecord(Theme theme) {
19 this.theme = theme; 19 this.theme = theme;
20 20
21 setActive(theme.isActive()); 21 setActive(theme.isActive());
22 setName(theme.getFacet()); 22 setName(theme.getDescription());
23 } 23 }
24 24
25 25
26 public Theme getTheme() { 26 public Theme getTheme() {
27 return theme; 27 return theme;
28 } 28 }
29 29
30 30
31 public void setName(String name) { 31 public void setName(String description) {
32 // TODO Add a setter method setName() to Facet 32 // TODO Add a setter method setName() to Facet
33 // facet.setName(name); 33 // facet.setName(name);
34 setAttribute("name", name); 34 setAttribute("name", description);
35 } 35 }
36 36
37 37
38 public String getName() { 38 public String getName() {
39 return getAttribute("name"); 39 return getAttribute("name");

http://dive4elements.wald.intevation.org