Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/ChartMode.java @ 9263:abf14917be32
Moved stepping behaviour of NaviOutputChart into an exchangeable strategy.
Allows for distinct values stepping of sinfo flood duration.
author | gernotbelger |
---|---|
date | Tue, 17 Jul 2018 19:48:18 +0200 |
parents | ea9eef426962 |
children | 05405292a7ca |
comparison
equal
deleted
inserted
replaced
9262:fee5fa18361c | 9263:abf14917be32 |
---|---|
47 public OutputTab createOutputTab(String t, Collection c, CollectionView p) { | 47 public OutputTab createOutputTab(String t, Collection c, CollectionView p) { |
48 if (this.getName().equals("fix_wq_curve") || | 48 if (this.getName().equals("fix_wq_curve") || |
49 this.getName().equals("extreme_wq_curve") || | 49 this.getName().equals("extreme_wq_curve") || |
50 this.getName().equals("fix_deltawt_curve") || | 50 this.getName().equals("fix_deltawt_curve") || |
51 this.getName().equals("fix_derivate_curve") || | 51 this.getName().equals("fix_derivate_curve") || |
52 this.getName().equals("fix_vollmer_wq_curve")){ | 52 this.getName().equals("fix_vollmer_wq_curve") || |
53 this.getName().equals("sinfo_floodduration_curve")){ | |
53 return new NaviChartOutputTab(t, c, this, p); | 54 return new NaviChartOutputTab(t, c, this, p); |
54 } | 55 } |
55 return new ChartOutputTab(t, c, this, p); | 56 return new ChartOutputTab(t, c, this, p); |
56 } | 57 } |
57 } | 58 } |