Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java @ 4472:dc7e41efd5ba
Work (in progress) on a print settings dialog.
Add Wheregroups WMS to printing whitelist.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sat, 10 Nov 2012 00:53:28 +0100 |
parents | 9fca4d60fb7c |
children | 6db783627137 |
comparison
equal
deleted
inserted
replaced
4471:4e4226d99b49 | 4472:dc7e41efd5ba |
---|---|
1 package de.intevation.flys.client.client.ui.map; | 1 package de.intevation.flys.client.client.ui.map; |
2 | 2 |
3 import com.google.gwt.core.client.GWT; | 3 import com.google.gwt.core.client.GWT; |
4 | |
4 import com.smartgwt.client.types.Alignment; | 5 import com.smartgwt.client.types.Alignment; |
5 import com.smartgwt.client.types.SelectionType; | 6 import com.smartgwt.client.types.SelectionType; |
6 import com.smartgwt.client.util.SC; | 7 import com.smartgwt.client.util.SC; |
7 import com.smartgwt.client.widgets.Button; | 8 import com.smartgwt.client.widgets.Button; |
8 import com.smartgwt.client.widgets.Canvas; | 9 import com.smartgwt.client.widgets.Canvas; |
648 | 649 |
649 protected ImgButton createMapPrintSettingsControl() { | 650 protected ImgButton createMapPrintSettingsControl() { |
650 ImgButton btn = createButton(MSG.printMapSettings(), new ClickHandler() { | 651 ImgButton btn = createButton(MSG.printMapSettings(), new ClickHandler() { |
651 @Override | 652 @Override |
652 public void onClick(ClickEvent event) { | 653 public void onClick(ClickEvent event) { |
653 | 654 MapPrintSettingsWindow mpsw = |
655 new MapPrintSettingsWindow(outputTab.getCollection()); | |
656 outputTab.getCollectionView().addChild(mpsw); | |
654 } | 657 } |
655 }); | 658 }); |
656 return btn; | 659 return btn; |
657 } | 660 } |
658 | 661 |