Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java Thu Aug 16 16:27:53 2018 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartToolbar.java Thu Aug 16 16:28:03 2018 +0200 @@ -83,7 +83,7 @@ @Override public void onClick(ClickEvent ce) { new ManualWSPEditor( - finalChartTab.getView().getCollection(), + finalChartTab.getCollectionView().getCollection(), finalChartTab, finalChartTab.getMode().getName()).show(); }}); @@ -300,11 +300,11 @@ protected void openPointWindow() { ChartOutputTab chartTab = getChartOutputTab(); if (chartTab.getMode().getName().equals("historical_discharge")) { - new ManualDatePointsEditor(chartTab.getView().getCollection(), + new ManualDatePointsEditor(chartTab.getCollectionView().getCollection(), chartTab, chartTab.getMode().getName()).show(); } else { - new ManualPointsEditor(chartTab.getView().getCollection(), + new ManualPointsEditor(chartTab.getCollectionView().getCollection(), chartTab, chartTab.getMode().getName()).show(); } }