comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java @ 273:905daf30221a

ISSUE 34: Move every new project window 20 px down and right. flys-client/trunk@1899 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 May 2011 11:44:23 +0000
parents 95b30a5d6350
children e763d8efd42f
comparison
equal deleted inserted replaced
272:d3c053420c3b 273:905daf30221a
29 * reference in {@link views}. 29 * reference in {@link views}.
30 * 30 *
31 * @param collectionView A new CollectionView. 31 * @param collectionView A new CollectionView.
32 */ 32 */
33 public void addView(CollectionView collectionView) { 33 public void addView(CollectionView collectionView) {
34 if (views.size() > 0) {
35 collectionView.moveTo(
36 views.size() * 20,
37 views.size() * 20);
38 }
34 views.add(collectionView); 39 views.add(collectionView);
35 addChild(collectionView); 40 addChild(collectionView);
36 } 41 }
37 } 42 }
38 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 43 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org