Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 4182:ad2489b595d7
Fix for issue #967
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 16 Oct 2012 12:44:15 +0200 |
parents | 0be65bc65cee |
children | 3b974a24a8e1 |
rev | line source |
---|---|
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.client.client.ui.chart; |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 import com.google.gwt.core.client.GWT; |
4013
0be65bc65cee
Set overflow behaviour of Toolbars to HIDDEN to avoid auto scrollbars.
Christian Lins <christian.lins@intevation.de>
parents:
3547
diff
changeset
|
4 |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
5 import com.smartgwt.client.widgets.Button; |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
6 import com.smartgwt.client.widgets.Canvas; |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
7 import com.smartgwt.client.widgets.ImgButton; |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
8 import com.smartgwt.client.widgets.Label; |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
9 import com.smartgwt.client.widgets.events.ClickEvent; |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
10 import com.smartgwt.client.widgets.events.ClickHandler; |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
11 |
3499
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
12 import de.intevation.flys.client.client.Config; |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
13 import de.intevation.flys.client.client.FLYSConstants; |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
14 import de.intevation.flys.client.client.event.ZoomEvent; |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
15 import de.intevation.flys.client.client.event.ZoomHandler; |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
16 import de.intevation.flys.client.client.ui.ImgLink; |
1364
9981ba2ee13a
Display the datacage button in the map toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1350
diff
changeset
|
17 import de.intevation.flys.client.client.ui.Toolbar; |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
18 |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
19 |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
20 /** |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
21 * Toolbar with buttons/icons to open datacage, switch to zoom mode, zoom out |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
22 * etc. |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
23 * |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
24 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
25 */ |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
26 public class ChartToolbar extends Toolbar implements ZoomHandler { |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
27 |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
28 protected static FLYSConstants MSG = GWT.create(FLYSConstants.class); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
29 |
3347
6d749af6a9c2
Issue #726 work.
Christian Lins <christian.lins@intevation.de>
parents:
2983
diff
changeset
|
30 public static final int PANEL_HEIGHT = 35; |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
31 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
32 protected Button manageThemes; |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
33 protected Button datacage; |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
34 protected ImgLink downloadPNG; |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
35 protected ImgLink downloadPDF; |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
36 protected ImgLink downloadSVG; |
1587
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
37 protected Canvas downloadCSV; |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
38 protected MousePositionPanel position; |
540
a866cdf1ca40
Implemented a zoombox control and added it to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
539
diff
changeset
|
39 protected ZoomboxControl zoombox; |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
40 protected ImgButton zoomToMaxExtent; |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
41 protected ImgButton historyBack; |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
42 protected ImgButton zoomOut; |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
43 protected ImgButton chartProperties; |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
44 protected Button addPoints; |
2925
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
45 protected Button addWSP; |
3499
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
46 protected ImgLink exportAT; |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
47 protected PanControl panControl; |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
48 |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
49 |
1545
2f0150f21e77
Added basic UI to enter manual points.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1541
diff
changeset
|
50 /** @param chartTab Output-Tab on which this toolbar is located. */ |
2f0150f21e77
Added basic UI to enter manual points.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1541
diff
changeset
|
51 public ChartToolbar(ChartOutputTab chartTab) { |
1364
9981ba2ee13a
Display the datacage button in the map toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1350
diff
changeset
|
52 super(chartTab); |
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.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3347
diff
changeset
|
53 initTools(); |
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.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3347
diff
changeset
|
54 } |
3371
b6575b8c8db0
Removed superfluous imports and trailinh whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3370
diff
changeset
|
55 |
b6575b8c8db0
Removed superfluous imports and trailinh whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3370
diff
changeset
|
56 |
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.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3347
diff
changeset
|
57 protected void initTools() { |
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.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3347
diff
changeset
|
58 ChartOutputTab chartTab = getChartOutputTab(); |
3371
b6575b8c8db0
Removed superfluous imports and trailinh whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3370
diff
changeset
|
59 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
60 manageThemes = new Button(MSG.manageThemes()); |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
61 datacage = new Button(MSG.databasket()); |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
62 position = new MousePositionPanel(chartTab); |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
63 zoombox = new ZoomboxControl(chartTab, MSG.zoom_in()); |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
64 zoomToMaxExtent = new ImgButton(); |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
65 zoomOut = new ImgButton(); |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
66 historyBack = new ImgButton(); |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
67 panControl = new PanControl(chartTab, MSG.pan()); |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
68 chartProperties = new ImgButton(); |
1558
eff394f9714a
Fix i18n issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1551
diff
changeset
|
69 addPoints = new Button(MSG.points()); |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
70 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
71 if (chartTab.getMode().getName().equals("cross_section")) { |
2926
59491a730461
New i18n for WSP editor.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2925
diff
changeset
|
72 addWSP = new Button(MSG.addWSPButton()); |
2927
f978058dc835
Nicen Manual WSP editor.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2926
diff
changeset
|
73 addWSP.setTooltip(MSG.addWSPTooltip()); |
2925
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
74 final ChartOutputTab finalChartTab = chartTab; |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
75 addWSP.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
76 @Override |
2925
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
77 public void onClick(ClickEvent ce) { |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
78 new ManualWSPEditor(finalChartTab.getView().getCollection(), |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
79 finalChartTab, finalChartTab.getMode().getName()).show(); |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
80 }}); |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
81 } |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
82 |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
83 addPoints.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
84 @Override |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
85 public void onClick(ClickEvent event) { |
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
86 openPointWindow(); |
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
87 } |
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
88 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
89 addPoints.setTooltip(MSG.addPointsTooltip()); |
538
75df57220104
Adapted the MousePositionPanel to use the Transform2D object for computing the chart coordinates from image coordinates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
534
diff
changeset
|
90 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
91 manageThemes.addClickHandler(new ClickHandler() { |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
92 |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
93 @Override |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
94 public void onClick(ClickEvent event) { |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
95 getChartOutputTab().toggleThemePanel(); |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
96 } |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
97 }); |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
98 |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
99 datacage.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
100 @Override |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
101 public void onClick(ClickEvent event) { |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
102 GWT.log("Clicked 'datacage' button."); |
1364
9981ba2ee13a
Display the datacage button in the map toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1350
diff
changeset
|
103 openDatacageWindow((ChartOutputTab) getOutputTab()); |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
104 } |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
105 }); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
106 |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
107 String baseUrl = GWT.getHostPageBaseURL(); |
3499
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
108 String moduleUrl = GWT.getModuleBaseURL(); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
109 Config config = Config.getInstance(); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
110 |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
111 if (chartTab.getMode().getName().equals("fix_wq_curve")) { |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
112 exportAT = new ImgLink( |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
113 baseUrl + MSG.downloadCSV(), |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
114 moduleUrl + "export" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
115 "?uuid=" + chartTab.getCollection().identifier() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
116 "&mode=" + chartTab.getMode().getName() + "_at_export" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
117 "&type=at" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
118 "&server=" + config.getServerUrl() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
119 "&locale=" + config.getLocale() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
120 "&km=" + chartTab.getCollectionView().getCurrentKm(), |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
121 20, |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
122 20 |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
123 ); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
124 exportAT.setTooltip(MSG.exportATTooltip()); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
125 } |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
126 |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
127 downloadPNG = new ImgLink( |
1399 | 128 baseUrl + MSG.downloadPNG(), |
1484
cb5ab84505b7
Set the chart export size to -1, so that the FLYS server is able to distinguish between an export and the query to display a chart.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1429
diff
changeset
|
129 chartTab.getExportUrl(-1, -1, "png"), |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
130 20, |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
131 20); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
132 downloadPNG.setTooltip(MSG.downloadPNGTooltip()); |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
133 |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
134 downloadPDF = new ImgLink( |
1399 | 135 baseUrl + MSG.downloadPDF(), |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
136 chartTab.getExportUrl(1280, 1024, "pdf"), |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
137 20, |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
138 20); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
139 downloadPDF.setTooltip(MSG.downloadPDFTooltip()); |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
140 |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
141 downloadSVG = new ImgLink( |
1399 | 142 baseUrl + MSG.downloadSVG(), |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
143 chartTab.getExportUrl(1280, 1024, "svg"), |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
144 20, |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
145 20); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
146 downloadSVG.setTooltip(MSG.downloadSVGTooltip()); |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
147 |
1587
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
148 downloadCSV = new ImgLink( |
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
149 baseUrl + MSG.downloadCSV(), |
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
150 chartTab.getExportUrl(-1, -1, "csv"), |
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
151 20, |
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
152 20); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
153 downloadCSV.setTooltip(MSG.downloadCSVTooltip()); |
1587
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
154 |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
155 zoomToMaxExtent.setSrc(baseUrl + MSG.zoom_all()); |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
156 adjustImageButton(zoomToMaxExtent); |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
157 zoomToMaxExtent.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
158 @Override |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
159 public void onClick(ClickEvent event) { |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
160 getChartOutputTab().resetRanges(); |
2910
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
161 // Relink the export buttons. |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
162 onZoom(null); |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
163 } |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
164 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
165 zoomToMaxExtent.setTooltip(MSG.zoomToMaxExtentTooltip()); |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
166 |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
167 zoomOut.setSrc(baseUrl + MSG.zoom_out()); |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
168 adjustImageButton(zoomOut); |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
169 zoomOut.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
170 @Override |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
171 public void onClick(ClickEvent event) { |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
172 getChartOutputTab().zoomOut(10); |
2910
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
173 // Relink the export buttons. |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
174 onZoom(null); |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
175 } |
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
176 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
177 zoomOut.setTooltip(MSG.zoomOutTooltip()); |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
178 |
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
179 historyBack.setSrc(baseUrl + MSG.zoom_back()); |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
180 adjustImageButton(historyBack); |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
181 historyBack.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
182 @Override |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
183 public void onClick(ClickEvent event) { |
1280
66192d170c79
Bugfix: #179 and #198 Zoom-out will no longer work with a factor but with stacked chart extents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
911
diff
changeset
|
184 getChartOutputTab().zoomOut(); |
2910
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
185 // Relink the export buttons. |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
186 onZoom(null); |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
187 } |
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
188 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
189 historyBack.setTooltip(MSG.historyBackTooltip()); |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
190 |
541
ed29599e06e5
Added the ChartOutputTab as ZoomHandler for the ZoomboxControl - no zooming is done yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
540
diff
changeset
|
191 zoombox.addZoomHandler(chartTab); |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
192 zoombox.addZoomHandler(this); |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
193 zoombox.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
194 @Override |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
195 public void onClick(ClickEvent event) { |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
196 panControl.deselect(); |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
197 } |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
198 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
199 zoombox.setTooltip(MSG.zoomboxTooltip()); |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
200 |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
201 panControl.addPanHandler(chartTab); |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
202 panControl.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
203 @Override |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
204 public void onClick(ClickEvent event) { |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
205 zoombox.deselect(); |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
206 } |
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
207 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
208 panControl.setTooltip(MSG.panControlTooltip()); |
541
ed29599e06e5
Added the ChartOutputTab as ZoomHandler for the ZoomboxControl - no zooming is done yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
540
diff
changeset
|
209 |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
210 chartProperties.setSrc(baseUrl + MSG.properties_ico()); |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
211 adjustImageButton(chartProperties); |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
212 chartProperties.addClickHandler(new ClickHandler() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
213 @Override |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
214 public void onClick(ClickEvent event) { |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
215 openPropertiesEditor(); |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
216 } |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
217 }); |
2545
f25a3eb9785d
Issue 671.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2479
diff
changeset
|
218 chartProperties.setTooltip(MSG.chartPropertiesTooltip()); |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
219 |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
220 initLayout(); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
221 } |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
222 |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
223 /** Set width, height and other properties of an imagebutton. */ |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
224 public void adjustImageButton(ImgButton imgButton) { |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
225 imgButton.setWidth(20); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
226 imgButton.setHeight(20); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
227 imgButton.setShowDown(false); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
228 imgButton.setShowRollOver(false); |
2471
a1ff911e8365
Replaced FLYS specific icon set.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2452
diff
changeset
|
229 imgButton.setShowRollOverIcon(false); |
1540
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
230 imgButton.setShowDisabled(false); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
231 imgButton.setShowDisabledIcon(true); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
232 imgButton.setShowDownIcon(false); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
233 imgButton.setShowFocusedIcon(false); |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
234 } |
cd88a257a5e6
Minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1484
diff
changeset
|
235 |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
236 |
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.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3347
diff
changeset
|
237 protected ChartOutputTab getChartOutputTab() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
238 return (ChartOutputTab)getOutputTab(); |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
239 } |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
240 |
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
241 |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
242 protected void initLayout() { |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
243 setWidth100(); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
244 setHeight(PANEL_HEIGHT); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
245 setMembersMargin(10); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
246 setPadding(5); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
247 setBorder("1px solid black"); |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
248 |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
249 Label spacer = new Label(); |
539
fea93eebd2fa
Improved the layout of the mouse position panel.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
538
diff
changeset
|
250 spacer.setWidth("*"); |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
251 datacage.setWidth("95px"); |
538
75df57220104
Adapted the MousePositionPanel to use the Transform2D object for computing the chart coordinates from image coordinates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
534
diff
changeset
|
252 position.setWidth("200px"); |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
253 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
254 addMember(manageThemes); |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
255 addMember(datacage); |
1344
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
256 addMember(downloadPNG); |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
257 addMember(downloadPDF); |
51d4b51a51ed
Added icons to export chart as PNG, PDF and SVG to the ChartToolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1281
diff
changeset
|
258 addMember(downloadSVG); |
1587
45cd2364adad
Issue 466.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1568
diff
changeset
|
259 addMember(downloadCSV); |
3499
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
260 if (getChartOutputTab().getMode().getName().equals("fix_wq_curve")) { |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
261 addMember(exportAT); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
262 } |
543
9c2cf4811a7d
Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
541
diff
changeset
|
263 addMember(zoomToMaxExtent); |
1281
4782c0ce9cec
Re-added the function to zoom-out charts by a given factor (10%).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1280
diff
changeset
|
264 addMember(historyBack); |
544
0f4095a522ab
Added a zoom-out control to the chart toolbar which zooms 10% of the current ranges out.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
543
diff
changeset
|
265 addMember(zoomOut); |
540
a866cdf1ca40
Implemented a zoombox control and added it to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
539
diff
changeset
|
266 addMember(zoombox); |
552
6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
544
diff
changeset
|
267 addMember(panControl); |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
268 addMember(chartProperties); |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
269 addMember(addPoints); |
2925
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
270 |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
271 if (getChartOutputTab().getMode().getName().equals("cross_section")) { |
2925
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
272 addMember(addWSP); |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
273 } |
6461b8dbe093
Added basic GUI for manual WSPs in cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2910
diff
changeset
|
274 |
534
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
275 addMember(spacer); |
e08777967bad
Added a first implementation of a MousePositionPanel - work is not finished yet.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
533
diff
changeset
|
276 addMember(position); |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
277 } |
1429
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
278 |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
279 /** |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
280 * Open the chart property editor dialog. |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
281 */ |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
282 protected void openPropertiesEditor() { |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
283 ChartPropertiesEditor editor = |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
284 new ChartPropertiesEditor(getChartOutputTab()); |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
285 editor.show(); |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
286 } |
16b7adc66330
Added stub for chart property editor.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1401
diff
changeset
|
287 |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
288 |
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
289 /** Open editor for custom points. */ |
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
290 protected void openPointWindow() { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
291 ChartOutputTab chartTab = getChartOutputTab(); |
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
292 if (chartTab.getMode().getName().equals("historical_discharge")) { |
2479
057021593625
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2471
diff
changeset
|
293 new ManualDatePointsEditor(chartTab.getView().getCollection(), |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
294 chartTab, chartTab.getMode().getName()).show(); |
2479
057021593625
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2471
diff
changeset
|
295 } |
057021593625
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2471
diff
changeset
|
296 else { |
057021593625
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2471
diff
changeset
|
297 new ManualPointsEditor(chartTab.getView().getCollection(), |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
298 chartTab, chartTab.getMode().getName()).show(); |
2479
057021593625
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2471
diff
changeset
|
299 } |
1541
959e1d0df941
Fixed typo, more stub for add points ui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1540
diff
changeset
|
300 } |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
301 |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
302 |
2910
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
303 /** |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
304 * Sets new sources to the export button/images, such that the |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
305 * correct zoom values are included in the request when clicked. |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
306 * @param evt ignored. |
ab0014c58ecb
Fix zoom/export issue665, issue459, issue667.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2545
diff
changeset
|
307 */ |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
308 @Override |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
309 public void onZoom(ZoomEvent evt) { |
2983
725470fc57d2
Add "Manage themes" button to ChartToolbar and MapToolbar.
Christian Lins <christian.lins@intevation.de>
parents:
2936
diff
changeset
|
310 ChartOutputTab chartTab = getChartOutputTab(); |
2391
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
311 downloadPNG.setSource(chartTab.getExportUrl(-1, -1, "png")); |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
312 downloadPDF.setSource(chartTab.getExportUrl(-1, -1, "pdf")); |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
313 downloadSVG.setSource(chartTab.getExportUrl(-1, -1, "svg")); |
3c8ae5605a51
Picked rev 4059,4071,4072,4073 from trunk.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1587
diff
changeset
|
314 } |
2936
a805118fffa6
Fixed zooming in navigatable charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2927
diff
changeset
|
315 |
a805118fffa6
Fixed zooming in navigatable charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2927
diff
changeset
|
316 public void deselectControls() { |
a805118fffa6
Fixed zooming in navigatable charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2927
diff
changeset
|
317 zoombox.deselect(); |
a805118fffa6
Fixed zooming in navigatable charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2927
diff
changeset
|
318 } |
3499
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
319 |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
320 public void updateLinks() { |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
321 ChartOutputTab chartTab = getChartOutputTab(); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
322 String moduleUrl = GWT.getModuleBaseURL(); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
323 Config config = Config.getInstance(); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
324 |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
325 if (chartTab.getMode().getName().equals("fix_wq_curve")) { |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
326 exportAT.setSource( |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
327 moduleUrl + "export" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
328 "?uuid=" + chartTab.getCollection().identifier() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
329 "&mode=" + chartTab.getMode().getName() + "_at_export" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
330 "&type=at" + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
331 "&server=" + config.getServerUrl() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
332 "&locale=" + config.getLocale() + |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
333 "&km=" + chartTab.getCollectionView().getCurrentKm()); |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
334 } |
17c66d38f095
FixA: Added AT file export to FixAnalysis W/Q.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3371
diff
changeset
|
335 } |
533
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
336 } |
34103ab9fe60
Moved the toolbar stuff of the chart panel into an own class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
337 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |