comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java @ 5144:2c31625d4e6a

New icons! Use the new icons in project list and for export buttons.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 28 Feb 2013 16:40:16 +0100
parents 94b95e002fb9
children
comparison
equal deleted inserted replaced
5143:d25eebfc5cee 5144:2c31625d4e6a
99 String name, 99 String name,
100 String facet, 100 String facet,
101 String filename 101 String filename
102 ) { 102 ) {
103 String url = getExportUrl(name, facet, filename); 103 String url = getExportUrl(name, facet, filename);
104 String iUrl = GWT.getHostPageBaseURL() + MSG.imageSave(); 104 String imgUrl = GWT.getHostPageBaseURL();
105 105 if (facet.equals("pdf")) {
106 ImgLink link = new ImgLink(iUrl, url, 30, 30); 106 imgUrl += MSG.downloadPDF();
107 }
108 else if (facet.equals("at")) {
109 imgUrl += MSG.downloadAT();
110 }
111 else if (facet.equals("wst")) {
112 imgUrl += MSG.downloadWST();
113 }
114 else if (facet.equals("csv")) {
115 imgUrl += MSG.downloadCSV();
116 }
117 else {
118 imgUrl += MSG.imageSave();
119 }
120 ImgLink link = new ImgLink(imgUrl, url, 30, 30);
107 link.setTooltip(getTooltipText(name, facet)); 121 link.setTooltip(getTooltipText(name, facet));
108 122
109 return link; 123 return link;
110 } 124 }
111 125

http://dive4elements.wald.intevation.org