view flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintSettingsWindow.java @ 5462:f2371f3aaf03

Show top level folder icons only if node has no factory If you have an empty folder the folder icon is still shown. This makes it possible to add functional "Top Level" entries in the Datacage
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Mar 2013 18:29:13 +0100
parents bd78d2b0e309
children
line wrap: on
line source
package de.intevation.flys.client.client.ui.map;

import com.smartgwt.client.widgets.Window;

import de.intevation.flys.client.shared.model.Collection;

public class MapPrintSettingsWindow extends Window {

    protected MapPrintSettingsPanel panel;

    public MapPrintSettingsWindow(Collection collection, MapToolbar mapToolbar) {
        setWidth(300);
        setHeight(200);

        // TODO: i18n
        setTitle("PDF-Druckeinstellungen");

        this.panel = new MapPrintSettingsPanel(collection, mapToolbar, this);
        this.panel.setPadding(20);
        addItem(this.panel);

        setIsModal(true);
        setShowModalMask(true);
    }
}

http://dive4elements.wald.intevation.org