Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapPrintWindow.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapPrintWindow.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.client.client.ui.map; | |
2 | |
3 import com.smartgwt.client.widgets.Window; | |
4 import com.google.gwt.core.client.GWT; | |
5 | |
6 import org.dive4elements.river.client.shared.model.Collection; | |
7 import org.dive4elements.river.client.client.FLYSConstants; | |
8 | |
9 public class MapPrintWindow extends Window { | |
10 protected FLYSConstants MSG = GWT.create(FLYSConstants.class); | |
11 | |
12 protected MapPrintPanel panel; | |
13 | |
14 public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { | |
15 setWidth(255); | |
16 setHeight(300); | |
17 | |
18 setTitle(MSG.printWindowTitle()); | |
19 centerInPage(); | |
20 | |
21 this.panel = new MapPrintPanel(collection, mapToolbar, this); | |
22 this.panel.setPadding(20); | |
23 addItem(this.panel); | |
24 } | |
25 } |