Add utility class org.simantics.modeling.help.HelpContexts The new class gathers headless code related to reading help context ids from the database that was previously crammed into a very illogical package org.simantics.modeling.ui.modelBrowser.handlers. gitlab #588 Change-Id: I4cbc00919d2dfef50a779ccee7f31eeb6d61eee5
Listen to changes in page settings in DiagramSceneGraphProvider This is needed for use cases where diagrams are transformed to SVG and viewed through browsers. These changes also fix PDF printing to force page border rendering off when not fitting PDF pages to diagram content, but to diagram page size. This avoids printing ugly black half-visible borders around diagrams where page borders are enabled. gitlab #563 Change-Id: I7f666dec34c650489264f3d23cbd72d5102b2f14
Removed unnecessary dependencies on org.apache.log4j gitlab #579 Change-Id: If0496edc82f46b3d49c30240bf0ba978324714de
Allow Issues and Profiles to be used on non standard diagram viewers As in diagram viewers that are not based on Diagramming/Modelling ontologies. gitlab #564 Change-Id: Ia6f4c94f76b085e0741e62a1312b2e1fd457fe86 (cherry picked from commit e08dd487037529baf1d6f873c09564133d53f51c)
Option to copy diagram selection to clipboard as SVG graphics The feature can be enabled on UI e.g. by adding a menu contribution to context menu with commandId "copyAsSVG". gitlab #554 Change-Id: Ide7022b684232639bea1a32553b01933fe6f4002
Contextual adapters must throw instead of returning null gitlab #540 Change-Id: I98cb667afcc6e54d41afc6c0a25051c5ee7b49b3
UC SCL script/procedural code editors respect L0.readOnly Marking the input resource with L0.readOnly now makes the editors consider the input immutable in the document provider. gitlab #526
Configurable connection crossing styles gitlab #515 Change-Id: I859ce915743c13c37be9ca13cdb0c71a2f077d87
Fixed InvertBasicExpressionVisitor bugs with subtractions and divisions Minus expressions and divisions were both computed the wrong way around, i.e. a-b as b-a and a/b as b/a. Consolidated duplicate InvertBasicExpressionVisitor code into single base class. Also noticed that the basicexpression parser doesn't parse e.g. `a*5/4` but parses `a*5 / 4` just fine. Didn't dive into these parser problems for now. Hopefully we can retire this code entirely at some point in favor of SCL expressions. gitlab #505 Change-Id: I74eaeae1dbec080a10ffc43c0c321705c0b0ea86
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)
Improved shared library structure dump to take more types into account Added support for: * L0.SCLScript * GF.File This also removes dumping of the .pgraph file from the shared library exporter because the contents of the generated .pgraph file have never been complete, nor stable enough to actually give out any information on what has changed and how. The system gives no diffs out on what most usually changes, i.e. SCL modules, scripts, SVG files and other similar textual data. gitlab #452 Change-Id: Id35b8b6d339398ba89aca3e10aff7aeb4c610242
Merge "Support for creating shared ontology dump to git"
Support for creating shared ontology dump to git File name escaping from FileUtils gitlab #452 Change-Id: I1e2d55f04f916a0fd0938fc27cb72ca56fa30000
Fixed string externalizations for AssignSymbolGroupDialog gitlab #330 Change-Id: Ia0f39351dfd8bbc68510965cd364e9843e7bfb6b
Fixed previous i18n work from 47269fe0 gilab #330 Change-Id: I8e31cbb9e123699558c3da386d49f48a5b55c6f1