Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 3366:8bedd1fcaeee
Removed trailing whitespace. Import cleanup
flys-client/trunk@5053 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 19 Jul 2012 08:48:51 +0000 |
parents | 8d38a1e097c2 |
children | 0de0ef04bcdc |
comparison
equal
deleted
inserted
replaced
3365:1f4ce71cb6c4 | 3366:8bedd1fcaeee |
---|---|
113 /** The output tab. */ | 113 /** The output tab. */ |
114 protected Map<String, OutputTab> outputTabs; | 114 protected Map<String, OutputTab> outputTabs; |
115 | 115 |
116 /** The layout. */ | 116 /** The layout. */ |
117 protected Layout layout; | 117 protected Layout layout; |
118 | 118 |
119 protected VLayout lockScreen; | 119 protected VLayout lockScreen; |
120 | 120 |
121 protected int artifactsQueue; | 121 protected int artifactsQueue; |
122 protected int recommendationQueue; | 122 protected int recommendationQueue; |
123 protected Stack<Recommendation> newRecommendations; | 123 protected Stack<Recommendation> newRecommendations; |
323 | 323 |
324 for (OutputModesChangeHandler handler: outHandlers) { | 324 for (OutputModesChangeHandler handler: outHandlers) { |
325 handler.onOutputModesChange(new OutputModesChangeEvent(outputs)); | 325 handler.onOutputModesChange(new OutputModesChangeEvent(outputs)); |
326 } | 326 } |
327 } | 327 } |
328 | 328 |
329 | 329 |
330 public void lockUI() { | 330 public void lockUI() { |
331 if (lockScreen == null) { | 331 if (lockScreen == null) { |
332 lockScreen = new VLayout(); | 332 lockScreen = new VLayout(); |
333 lockScreen.setWidth100(); | 333 lockScreen.setWidth100(); |
334 lockScreen.setHeight100(); | 334 lockScreen.setHeight100(); |
335 lockScreen.setBackgroundColor("#7f7f7f"); | 335 lockScreen.setBackgroundColor("#7f7f7f"); |
336 lockScreen.setOpacity(50); | 336 lockScreen.setOpacity(50); |
337 lockScreen.setAlign(VerticalAlignment.CENTER); | 337 lockScreen.setAlign(VerticalAlignment.CENTER); |
338 lockScreen.setDefaultLayoutAlign(VerticalAlignment.CENTER); | 338 lockScreen.setDefaultLayoutAlign(VerticalAlignment.CENTER); |
339 | 339 |
340 HLayout inner = new HLayout(); | 340 HLayout inner = new HLayout(); |
341 inner.setAlign(Alignment.CENTER); | 341 inner.setAlign(Alignment.CENTER); |
342 inner.setDefaultLayoutAlign(Alignment.CENTER); | 342 inner.setDefaultLayoutAlign(Alignment.CENTER); |
343 inner.setOpacity(100); | 343 inner.setOpacity(100); |
344 | 344 |
345 Img img = new Img( | 345 Img img = new Img( |
346 GWT.getHostPageBaseURL() + messages.loadingImg(), | 346 GWT.getHostPageBaseURL() + messages.loadingImg(), |
347 25, 25); | 347 25, 25); |
348 | 348 |
349 inner.addMember(img); | 349 inner.addMember(img); |
350 | 350 |
351 lockScreen.addMember(inner); | 351 lockScreen.addMember(inner); |
352 } | 352 } |
353 | 353 |
354 layout.addChild(lockScreen); | 354 layout.addChild(lockScreen); |
355 } | 355 } |
356 | 356 |
357 | 357 |
358 public void unlockUI() { | 358 public void unlockUI() { |
359 layout.removeChild(lockScreen); | 359 layout.removeChild(lockScreen); |
360 } | 360 } |
361 | 361 |
362 | 362 |