Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java @ 5610:98906446eadf
Center print Window in the page to recive click events
The removal of setShowModalMask has nothing to do with this but this
was just uneccessary
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 09 Apr 2013 15:13:42 +0200 |
parents | 0d8564196d73 |
children | 22e03ca8c39d |
line wrap: on
line source
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()); centerInPage(); this.panel = new MapPrintPanel(collection, mapToolbar, this); this.panel.setPadding(20); addItem(this.panel); } }