Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 1531:8b4688a2e25d
Set the empty facet to invisible.
flys-client/trunk@3739 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 20 Jan 2012 09:52:48 +0000 |
parents | 8c911c935b58 |
children | cfe88143ee89 |
comparison
equal
deleted
inserted
replaced
1530:f1f0e9c75026 | 1531:8b4688a2e25d |
---|---|
228 int count = themeList.getThemeCount(); | 228 int count = themeList.getThemeCount(); |
229 | 229 |
230 for (int i = 1; i <= count; i++) { | 230 for (int i = 1; i <= count; i++) { |
231 Theme theme = themeList.getThemeAt(i); | 231 Theme theme = themeList.getThemeAt(i); |
232 | 232 |
233 if(theme.getFacet().equals("empty.facet")) { | |
234 theme.setVisible(0); | |
235 } | |
236 | |
233 if (theme == null || theme.getVisible() == 0) { | 237 if (theme == null || theme.getVisible() == 0) { |
234 continue; | 238 continue; |
235 } | 239 } |
236 | 240 |
237 FacetRecord newRecord = createRecord(theme); | 241 FacetRecord newRecord = createRecord(theme); |