Fix SymbolLibraryComposite DnD to cope also with GroupProxySymbolItems gitlab #613 Change-Id: Ia45674fb6fe99f4dc958096d35688441f363e80e (cherry picked from commit 1b93154e988c98b4a2be6a1492b6eabc8b0f6471)
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before This implementation works so that it copies any IsRelatedTo statements where both the subject and object have been copied during the normal (old) copy process. The statements are marked as pending during the copy and post-processed after everything else has been copied. gitlab #607 Change-Id: I9170a448c127e0c7de6eae4260db5799ad7644bb
Fixed route graph splitting and diagram mapping race condition problem RouteGraphConnectionSplitter.doSplit now always splits the connection so that part #1 is always the part that stays with the existing diagram connection and part #2 contains the entities that are moved to the newly created route graph connection resource. Part #1 is the part where the "output terminal" attached to the connection lies. This simplifies and clarifies the implementation of doSplit and does not require moving diagram mapping statements around. Also, more importantly RouteGraphConnectionSplitter and FlagUtil changes ensure that diagram mapping is *not* executed in FlagUtil.join, which was the main cause of the previous corruption. Diagram mapping is only activated once for the affected diagram(s) after everything else is done. gitlab #549 gitlab #586 Change-Id: Icf7479e8e111bf663f637d6909419267cfa4eec4 (cherry picked from commit cc78488e2230fea07726acb86db3c7dd245b39ce)
Fix NPE from flagTransform The bug affected loading of route graph connections about to be split in half when attached to diagram flags at either or both ends. The NPE caused the flag terminal position to receive identity transform as value which is plain wrong. This in turn resulted in the splitting position being completely wrong compared to what the user requested and the result looking very strange. This fixes the immediate problem but still doesn't work properly if the flag is actually attached to a diagram template flag table. In this case the terminal's position will be incorrectly calculated since runtimeDiagram is null. This needs another issue. gitlab #586 Change-Id: If09524c71c701f2c1190d0f915aafbb972c51da4 (cherry picked from commit 2526602db10c29f0c30c4a3cffaf33012d9c4a0e)
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
Added identity-providing constructor for IconButtonStyleBase This is needed to support proper implementation of styles inheriting IconButtonStyleBase. Otherwise query identities of the mentioned class fall back to getClass which does not work in general. gitlab #544 Change-Id: I7bfea53b1ce23e644da03ada3cb027fd34a4780a
Set initial priority for GroupStyleProfileEntry This ensures correct ordering of profile monitor text stacks gitlab #543 Change-Id: Iaabc59674f6fb51bd1cb0fd77e224b8da6f9454d (cherry picked from commit 24bc1bb36da76bf82768b33c2aa07fe2a0324461)
Replace scheduleAtFixedRate with scheduleWithFixedDelay ScheduledExecutorService.scheduleAtFixedRate tends to run enormous amounts of runnables that would have been scheduled during a machine is in sleep, after the machines wakes up from sleep, retroactively. This is not good and can be avoided by using scheduleWithFixedDelay which is usually good enough regarding the delay between executions. gitlab #531 Change-Id: I4ac3b11f1f9236d411debb352fce610c33410659
Move platform to only work with JDK's >= 11 * Several javax-prefixed packages are being removed from JDK (such as javax.xml.bind) and one has to provide javax.packages via new jakarta-bundles. See: http://openjdk.java.net/jeps/320#Java-EE-modules Java 11 is LTS and we don't want to require anything beyond that at this point. Next LTS will be 17 which will be the next target. Classes are also now compiled for Java 11. gitlab #486 gitlab #524 Change-Id: Ib2edf9401ada203412569fadef4f092344b1c553
Improvements to styling of connection lines gitlab #519 Change-Id: Ic08546e5aab985d6e4c365dc9877a692829b0ab2
Improved element reordering performance Performance was especially poor when moving element from top to bottom as it caused changes all elements in the ordered set. gitlab #508 Change-Id: I140bf8ad552f06477751842f6e3da9e0d294e247
Tons of dependency fixes and updates * Removed unused JARs from org.simantics.scenegraph and re-exported org.apache.batik from there instead of including three old batik JARs internally to export the batik parser. * Replaced all dependencies on org.apache.commons.collections with org.apache.commons.collections4 * Removed version specifiers from all org.slf4j.api and org.eclipse.collections.eclipse-collections* dependencies to avoid the need to modify them down the road with new major releases * Explicitly specified all Jetty dependencies to be on version 9.4.24 in an attempt to avoid OSGi (Felix) bundle wiring performance problems experienced by Marko in recent developments. gitlab #485 gitlab #486 Change-Id: Id5a3d62a007fad4a45f601b4d471f061395e556b
Add line bounds to highlight bounds to get actual bounds. This fixes text clipping with italic font gitlab #475 Change-Id: I7223d6b7e960f28c61644ba7bc608b46530a58a1 (cherry picked from commit 5d435de8ba4147560a795f8873d234a0489050b2)