comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java @ 5606:0d8564196d73

Break printing to rework the parametrization of the print job There is now only one print button that opens a dialog with input fields for additional attributes as specified by desktop flys. Currently the print button does not work and this commit is part of a WIP.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 09 Apr 2013 11:51:29 +0200
parents flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintSettingsWindow.java@bd78d2b0e309
children 98906446eadf
comparison
equal deleted inserted replaced
5605:6372fd8bfb00 5606:0d8564196d73
1 package de.intevation.flys.client.client.ui.map;
2
3 import com.smartgwt.client.widgets.Window;
4 import com.google.gwt.core.client.GWT;
5
6 import de.intevation.flys.client.shared.model.Collection;
7 import de.intevation.flys.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(280);
17
18 setTitle(MSG.printWindowTitle());
19
20 this.panel = new MapPrintPanel(collection, mapToolbar, this);
21 this.panel.setPadding(20);
22 addItem(this.panel);
23
24 setShowModalMask(true);
25 }
26 }

http://dive4elements.wald.intevation.org