comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 3370:08b2472111aa

New implementation of OverviewOutputTab which has a minimalistic chart toolbar and no chart theme panel. The overview image is fetched as single image from server. flys-client/trunk@5078 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Jul 2012 07:40:55 +0000
parents 6d749af6a9c2
children b6575b8c8db0
comparison
equal deleted inserted replaced
3369:20688790f0c0 3370:08b2472111aa
45 45
46 46
47 /** @param chartTab Output-Tab on which this toolbar is located. */ 47 /** @param chartTab Output-Tab on which this toolbar is located. */
48 public ChartToolbar(ChartOutputTab chartTab) { 48 public ChartToolbar(ChartOutputTab chartTab) {
49 super(chartTab); 49 super(chartTab);
50 50 initTools();
51 }
52
53
54 protected void initTools() {
55 ChartOutputTab chartTab = getChartOutputTab();
56
51 manageThemes = new Button(MSG.manageThemes()); 57 manageThemes = new Button(MSG.manageThemes());
52 datacage = new Button(MSG.databasket()); 58 datacage = new Button(MSG.databasket());
53 position = new MousePositionPanel(chartTab); 59 position = new MousePositionPanel(chartTab);
54 zoombox = new ZoomboxControl(chartTab, MSG.zoom_in()); 60 zoombox = new ZoomboxControl(chartTab, MSG.zoom_in());
55 zoomToMaxExtent = new ImgButton(); 61 zoomToMaxExtent = new ImgButton();
205 imgButton.setShowDownIcon(false); 211 imgButton.setShowDownIcon(false);
206 imgButton.setShowFocusedIcon(false); 212 imgButton.setShowFocusedIcon(false);
207 } 213 }
208 214
209 215
210 private ChartOutputTab getChartOutputTab() { 216 protected ChartOutputTab getChartOutputTab() {
211 return (ChartOutputTab)getOutputTab(); 217 return (ChartOutputTab)getOutputTab();
212 } 218 }
213 219
214 220
215 protected void initLayout() { 221 protected void initLayout() {

http://dive4elements.wald.intevation.org