teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.ui.map; christian@4472: christian@4472: import com.smartgwt.client.widgets.Window; aheinecke@5606: import com.google.gwt.core.client.GWT; christian@4472: teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; teichmann@5835: import org.dive4elements.river.client.client.FLYSConstants; christian@4472: aheinecke@5606: public class MapPrintWindow extends Window { aheinecke@5606: protected FLYSConstants MSG = GWT.create(FLYSConstants.class); christian@4472: aheinecke@5606: protected MapPrintPanel panel; christian@4472: aheinecke@5606: public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { aheinecke@5606: setWidth(255); aheinecke@5717: setHeight(300); aheinecke@5606: aheinecke@5606: setTitle(MSG.printWindowTitle()); aheinecke@5610: centerInPage(); aheinecke@5606: aheinecke@5606: this.panel = new MapPrintPanel(collection, mapToolbar, this); christian@4472: this.panel.setPadding(20); christian@4472: addItem(this.panel); christian@4472: } christian@4472: }