comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 3623:119b8ba2b77f

Include logos in resources. flys-artifacts/trunk@5300 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 29 Aug 2012 23:46:21 +0000
parents 5e505060a9bf
children 347096b8cdf6
comparison
equal deleted inserted replaced
3622:5e505060a9bf 3623:119b8ba2b77f
265 265
266 ImageIcon imageIcon = null; 266 ImageIcon imageIcon = null;
267 if (logo.equals("none")) { 267 if (logo.equals("none")) {
268 return; 268 return;
269 } 269 }
270 /*
271 If you want to add images, remember to change code in these places:
272 flys-artifacts:
273 XYChartGenerator.java
274 Timeseries*Generator.java and
275 in the flys-client projects Chart*Propert*Editor.java.
276 */
270 if (logo.equals("Intevation")) { 277 if (logo.equals("Intevation")) {
271 imageIcon = new ImageIcon("/home/felix/Downloads/intevation_logo_120.png"); 278 imageIcon = new ImageIcon("/home/felix/Downloads/intevation_logo_120.png");
272 } 279 }
273 else { // TODO else if ... 280 else { // TODO else if ...
274 imageIcon = new ImageIcon("/home/felix/Downloads/bfg_logo.gif"); 281 imageIcon = new ImageIcon("/home/felix/Downloads/bfg_logo.gif");

http://dive4elements.wald.intevation.org