Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/ChartMode.java @ 2906:1780841d79af
Added navigation to fix analysis charts.
flys-client/trunk@4673 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 12:13:09 +0000 |
parents | cd8603aaa730 |
children | 5161e25392ea |
comparison
equal
deleted
inserted
replaced
2905:51ed89b754ae | 2906:1780841d79af |
---|---|
3 import java.util.List; | 3 import java.util.List; |
4 | 4 |
5 import de.intevation.flys.client.client.ui.CollectionView; | 5 import de.intevation.flys.client.client.ui.CollectionView; |
6 import de.intevation.flys.client.client.ui.OutputTab; | 6 import de.intevation.flys.client.client.ui.OutputTab; |
7 import de.intevation.flys.client.client.ui.chart.ChartOutputTab; | 7 import de.intevation.flys.client.client.ui.chart.ChartOutputTab; |
8 import de.intevation.flys.client.client.ui.chart.NaviChartOutputTab; | |
8 | 9 |
9 | 10 |
10 /** | 11 /** |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
12 */ | 13 */ |
31 } | 32 } |
32 | 33 |
33 | 34 |
34 @Override | 35 @Override |
35 public OutputTab createOutputTab(String t, Collection c, CollectionView p) { | 36 public OutputTab createOutputTab(String t, Collection c, CollectionView p) { |
37 if (this.getName().equals("fix_wq_curve") || | |
38 this.getName().equals("fix_deltawt_curve") || | |
39 this.getName().equals("fix_derivate_curve")) { | |
40 return new NaviChartOutputTab(t, c, this, p); | |
41 } | |
36 return new ChartOutputTab(t, c, this, p); | 42 return new ChartOutputTab(t, c, this, p); |
37 } | 43 } |
38 } | 44 } |
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 45 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |