view flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java @ 5622:b28a6d05e969

Add a new mechanism in mapfish print call to add arbitary data maps Data properties are identified by starting with mapfish-data and they are then split in info value pairs where info can be the description of the information and value the value of the information to be transported in the data map.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 09 Apr 2013 19:04:32 +0200
parents 98906446eadf
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);
    }
}

http://dive4elements.wald.intevation.org