Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Thu Jul 19 08:48:51 2012 +0000 @@ -115,7 +115,7 @@ /** The layout. */ protected Layout layout; - + protected VLayout lockScreen; protected int artifactsQueue; @@ -325,8 +325,8 @@ handler.onOutputModesChange(new OutputModesChangeEvent(outputs)); } } - - + + public void lockUI() { if (lockScreen == null) { lockScreen = new VLayout(); @@ -336,25 +336,25 @@ lockScreen.setOpacity(50); lockScreen.setAlign(VerticalAlignment.CENTER); lockScreen.setDefaultLayoutAlign(VerticalAlignment.CENTER); - + HLayout inner = new HLayout(); inner.setAlign(Alignment.CENTER); inner.setDefaultLayoutAlign(Alignment.CENTER); inner.setOpacity(100); - + Img img = new Img( GWT.getHostPageBaseURL() + messages.loadingImg(), 25, 25); - + inner.addMember(img); - + lockScreen.addMember(inner); } - + layout.addChild(lockScreen); } - - + + public void unlockUI() { layout.removeChild(lockScreen); }