Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java Tue Apr 09 11:51:29 2013 +0200 @@ -0,0 +1,26 @@ +package de.intevation.flys.client.client.ui.map; + +import com.smartgwt.client.widgets.Window; +import com.google.gwt.core.client.GWT; + +import de.intevation.flys.client.shared.model.Collection; +import de.intevation.flys.client.client.FLYSConstants; + +public class MapPrintWindow extends Window { + protected FLYSConstants MSG = GWT.create(FLYSConstants.class); + + protected MapPrintPanel panel; + + public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { + setWidth(255); + setHeight(280); + + setTitle(MSG.printWindowTitle()); + + this.panel = new MapPrintPanel(collection, mapToolbar, this); + this.panel.setPadding(20); + addItem(this.panel); + + setShowModalMask(true); + } +}