Improved Copy Visible Data usability in time series chart editor 53/4053/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 19 Mar 2020 23:45:59 +0000 (01:45 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 20 Mar 2020 06:18:13 +0000 (06:18 +0000)
commitd9d830062a16b727c65d9bbd04f519235c5ece01
tree93de3c277cf4fda4d76b02b782b741c2e70c0410
parentf47d88805a2ccf2f89985d232ec225abe8df7178
Improved Copy Visible Data usability in time series chart editor

The action now first opens a preference dialog with only the CSV export
preferences shown which allows the user to know what settings are being
used to copy the data before actually copying, and also cancel the copy.

The preference page also shows which options are not used if resampling
is not enabled.

gitlab #501

Change-Id: If998d322f4286841c2c6bd3cbad479b8032b19ae
(cherry picked from commit 3af10e1cdc24856c072df9dc7cdc5c964756a533)
bundles/org.simantics.charts/src/org/simantics/charts/editor/ChartCopyHandler.java
bundles/org.simantics.history/src/org/simantics/history/csv/CSVFormatter.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/preferences/CSVPreferencePage.java
bundles/org.simantics.trend/src/org/simantics/trend/impl/HorizRuler.java