Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java @ 1340:290d5687f202
#253 Implemented ThemePanel's 'remove' action.
flys-client/trunk@2990 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 17 Oct 2011 15:00:12 +0000 |
parents | aa2313e0f18d |
children | f6fbfdc813f0 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java Mon Oct 17 13:04:31 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java Mon Oct 17 15:00:12 2011 +0000 @@ -12,6 +12,8 @@ protected int active; + protected int visible; + protected String artifact; protected String facet; @@ -27,6 +29,7 @@ int pos, int index, int active, + int visible, String art, String facet, String description) @@ -34,6 +37,7 @@ this.position = pos; this.index = index; this.active = active; + this.visible = visible; this.artifact = art; this.facet = facet; this.description = description; @@ -85,6 +89,16 @@ } + public int getVisible() { + return visible; + } + + + public void setVisible(int visible) { + this.visible = visible; + } + + public boolean equals(Object o) { if (!(o instanceof DefaultTheme)) { return false; @@ -116,6 +130,10 @@ return false; } + if (other.visible != visible) { + return false; + } + return true; } }