Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.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 | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9415:9744ce3c3853 | 9416:05405292a7ca |
---|---|
81 final ChartOutputTab finalChartTab = chartTab; | 81 final ChartOutputTab finalChartTab = chartTab; |
82 addWSP.addClickHandler(new ClickHandler() { | 82 addWSP.addClickHandler(new ClickHandler() { |
83 @Override | 83 @Override |
84 public void onClick(ClickEvent ce) { | 84 public void onClick(ClickEvent ce) { |
85 new ManualWSPEditor( | 85 new ManualWSPEditor( |
86 finalChartTab.getView().getCollection(), | 86 finalChartTab.getCollectionView().getCollection(), |
87 finalChartTab, | 87 finalChartTab, |
88 finalChartTab.getMode().getName()).show(); | 88 finalChartTab.getMode().getName()).show(); |
89 }}); | 89 }}); |
90 } | 90 } |
91 | 91 |
298 | 298 |
299 /** Open editor for custom points. */ | 299 /** Open editor for custom points. */ |
300 protected void openPointWindow() { | 300 protected void openPointWindow() { |
301 ChartOutputTab chartTab = getChartOutputTab(); | 301 ChartOutputTab chartTab = getChartOutputTab(); |
302 if (chartTab.getMode().getName().equals("historical_discharge")) { | 302 if (chartTab.getMode().getName().equals("historical_discharge")) { |
303 new ManualDatePointsEditor(chartTab.getView().getCollection(), | 303 new ManualDatePointsEditor(chartTab.getCollectionView().getCollection(), |
304 chartTab, chartTab.getMode().getName()).show(); | 304 chartTab, chartTab.getMode().getName()).show(); |
305 } | 305 } |
306 else { | 306 else { |
307 new ManualPointsEditor(chartTab.getView().getCollection(), | 307 new ManualPointsEditor(chartTab.getCollectionView().getCollection(), |
308 chartTab, chartTab.getMode().getName()).show(); | 308 chartTab, chartTab.getMode().getName()).show(); |
309 } | 309 } |
310 } | 310 } |
311 | 311 |
312 | 312 |