comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapThemePanel.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents ea9eef426962
children 05405292a7ca
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
196 196
197 MenuItem item = new MenuItem(MSG.wmsURLMenuItem()); 197 MenuItem item = new MenuItem(MSG.wmsURLMenuItem());
198 item.addClickHandler(new ClickHandler() { 198 item.addClickHandler(new ClickHandler() {
199 @Override 199 @Override
200 public void onClick(MenuItemClickEvent evt) { 200 public void onClick(MenuItemClickEvent evt) {
201 String url = getMapOutputTab().wmsUrls().get(at.getAttr("layers")); 201 String url = getMapOutputTab().wmsUrls().get(
202 at.getAttr("layers"));
202 SC.say(MSG.wmsURLBoxTitle(), url); 203 SC.say(MSG.wmsURLBoxTitle(), url);
203 } 204 }
204 }); 205 });
205 206
206 return item; 207 return item;
223 Theme theme = facet.getTheme(); 224 Theme theme = facet.getTheme();
224 theme.setVisible(0); 225 theme.setVisible(0);
225 theme.setActive(0); 226 theme.setActive(0);
226 227
227 AttributedTheme at = (AttributedTheme) theme; 228 AttributedTheme at = (AttributedTheme) theme;
228 getMapOutputTab().removeLayer(at.getAttr("layers")); 229 getMapOutputTab().removeLayer(
230 at.getAttr("layers"));
229 } 231 }
230 232
231 updateCollection(); 233 updateCollection();
232 } 234 }
233 } 235 }

http://dive4elements.wald.intevation.org