]> gerrit.simantics Code Review - simantics/platform.git/commit
Improved Copy Visible Data usability in time series chart editor 33/4033/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 19 Mar 2020 23:45:59 +0000 (01:45 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 19 Mar 2020 23:45:59 +0000 (01:45 +0200)
commit3af10e1cdc24856c072df9dc7cdc5c964756a533
tree31f9b19d25c094d37352972c811058d735cfa8b1
parentb9e4ecc01fa3ff19d4a742abc2d08a6eaba3d97d
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
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