Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartOutputTab.java @ 9416:05405292a7ca
Navigationtheme panel now shows themes of dWt and WQ charts grayed out, if the current station is outside the valid range of the theme.
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 16:28:03 +0200 |
parents | abf14917be32 |
children |
comparison
equal
deleted
inserted
replaced
9415:9744ce3c3853 | 9416:05405292a7ca |
---|---|
51 private final NumberFormat kmFormat = NumberFormat.getDecimalFormat(); | 51 private final NumberFormat kmFormat = NumberFormat.getDecimalFormat(); |
52 | 52 |
53 private INaviChartStepper stepper; | 53 private INaviChartStepper stepper; |
54 | 54 |
55 public NaviChartOutputTab(final String title, final Collection collection, final OutputMode mode, final CollectionView collectionView) { | 55 public NaviChartOutputTab(final String title, final Collection collection, final OutputMode mode, final CollectionView collectionView) { |
56 super(title, collection, mode, collectionView); | 56 super(title, collection, mode, collectionView, new NaviChartRecordHandler(collectionView)); |
57 | 57 |
58 this.stepper = new NilNaviChartStepper(); | 58 this.stepper = new NilNaviChartStepper(); |
59 | 59 |
60 this.right.removeChild(this.chart); | 60 this.right.removeChild(this.chart); |
61 this.right.addChild(createNaviChart()); | 61 this.right.addChild(createNaviChart()); |
228 updateChartInfo(); | 228 updateChartInfo(); |
229 | 229 |
230 this.currentkm.setValue(this.kmFormat.format(currentKm)); | 230 this.currentkm.setValue(this.kmFormat.format(currentKm)); |
231 this.tbarPanel.onZoom(null); | 231 this.tbarPanel.onZoom(null); |
232 | 232 |
233 updateThemePanel(); | |
233 } | 234 } |
234 | 235 |
235 /** | 236 /** |
236 * Returns the existing chart panel. | 237 * Returns the existing chart panel. |
237 * | 238 * |