changeset 3374:27e455487d66

Removed SVG and PDF export buttons from chart toolbar of overview charts. flys-client/trunk@5087 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Jul 2012 10:37:29 +0000
parents 86e69788c946
children 87c0a06743b8
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java
diffstat 2 files changed, 6 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Jul 20 10:17:25 2012 +0000
+++ b/flys-client/ChangeLog	Fri Jul 20 10:37:29 2012 +0000
@@ -1,3 +1,9 @@
+2012-07-20  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java:
+	  Removed the export buttons for SVG and PDF; those exports aren't
+	  implemented on server side yet.
+
 2012-07-20  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/sq/SQCampaignChart.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java	Fri Jul 20 10:17:25 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/OverviewOutputTab.java	Fri Jul 20 10:37:29 2012 +0000
@@ -66,20 +66,6 @@
                 20);
             downloadPNG.setTooltip(MSG.downloadPNGTooltip());
 
-            downloadPDF = new ImgLink(
-                baseUrl + MSG.downloadPDF(),
-                chartTab.getExportUrl(1280, 1024, "pdf"),
-                20,
-                20);
-            downloadPDF.setTooltip(MSG.downloadPDFTooltip());
-
-            downloadSVG = new ImgLink(
-                baseUrl + MSG.downloadSVG(),
-                chartTab.getExportUrl(1280, 1024, "svg"),
-                20,
-                20);
-            downloadSVG.setTooltip(MSG.downloadSVGTooltip());
-
             initLayout();
         }
 
@@ -93,8 +79,6 @@
             setBorder("1px solid black");
 
             addMember(downloadPNG);
-            addMember(downloadPDF);
-            addMember(downloadSVG);
         }
     }
 

http://dive4elements.wald.intevation.org