comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java @ 528:39d9291513cc

Connected the actions in the navigation panel with the theme list in the ChartThemePanel - themes can be moved now. flys-client/trunk@2009 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 26 May 2011 13:53:36 +0000
parents fc994da131f9
children a1048d310829
comparison
equal deleted inserted replaced
527:902609b5cc79 528:39d9291513cc
30 public int getPosition() { 30 public int getPosition() {
31 return position; 31 return position;
32 } 32 }
33 33
34 34
35 public void setPosition(int pos) {
36 this.position = pos;
37 }
38
39
35 public boolean isActive() { 40 public boolean isActive() {
36 return active; 41 return active;
37 } 42 }
38 43
39 44
43 48
44 49
45 public String getFacet() { 50 public String getFacet() {
46 return facet; 51 return facet;
47 } 52 }
53
54
55 public boolean equals(Object o) {
56 if (!(o instanceof DefaultTheme)) {
57 return false;
58 }
59
60 DefaultTheme other = (DefaultTheme) o;
61
62 if (other.position != position) {
63 return false;
64 }
65
66 if (!other.artifact.equals(artifact)) {
67 return false;
68 }
69
70 if (other.active != active) {
71 return false;
72 }
73
74 if (!other.facet.equals(facet)) {
75 return false;
76 }
77
78 return true;
79 }
48 } 80 }
49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 81 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org