Fixed subscription item data file searching to use groupItemId as well This fixes problems where subscription item data CSV export used the wrong data files to read the data related to the subscription item because it wasn't matching the data file based on both groupItemId (subscription item GUID name) and variable ID, which can be overlapping if a new subscription item is created for a variable that has had a previous subscription. gitlab #528 Change-Id: If1ddef78e4b152cf6721f82afc21b37ec5fbb074
Added Chart Preferences action to time series chart editor context menu gitlab #502 Change-Id: I901c2c4b92fb75b255aee3a123b0f5802f5c2fb3 (cherry picked from commit fa107b33201040a66ef237f3705395d74b22bb97)
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)
Fixed context menu popup location for HiDPI displays with display zoom gitlab #152 Change-Id: If7ca761cf305daa4ecfd837af75c93eae285df1a
Tested and fixed utility for truncating history data. HistoryUtil.truncateHistory now actually works as intended. Care must be taken not to interfere with the history data while it is being truncated. This must be ensured externally. A reference counter (AtomicInteger) was also added to ChartData to be able to see how many users the ChartData has and to wait until it no longer has any users. This is required to wait until all chart editors have detached themselves from the history data. refs #7622 Change-Id: I35863f5258da2cae193b3086500b5514c4699518
Fixed diagram profile monitor DnD regression. CTRL+dragging diagram profile monitor values from diagram to Model Browser chart/subscription nodes now works again. The code now processes also dragged data that contains an RVI in String format. refs #7313 Change-Id: I0154414df73ea96c29a8e5aa44881781f5d62675 (cherry picked from commit b9d4701787a7aba852ec02aaef6149b8203344b3)
Fixed all line endings of the repository I followed the instructions in http://stackoverflow.com/a/1511273 git rm --cached -r . git config core.autocrlf true git diff --cached --name-only -z | xargs -0 git add git commit -m "..." Change-Id: I4920748df8f53c221fc2f643e991b66aea5697e0
Added support for JSON PlainTextTransferable to charts and subscriptions With these changes dragging JSON text using org.simantics.ui.dnd.PlainTextTransfer on top of model browser charts and subscriptions and also on a chart editor is now supported. The dragged JSON data must be in the following format: <pre> { "type" : "variable", "uri" : "variable space URI to dragged entity", "defaultPropertyUri" : "variable space URI to default referenced property variable of the dragged entity" } </pre> Only "type" and "defaultPropertyUri" keys are required. refs #6844 Change-Id: I3684a879a6c80bbff812166d14aa28eac5244663
Migrated source code from Simantics SVN