Option to copy diagram selection to clipboard as SVG graphics 04/4304/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 10 Jun 2020 11:03:12 +0000 (14:03 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 10 Jun 2020 11:03:12 +0000 (14:03 +0300)
commit7c341eb5f602ee3c7255e933204f4f72a6d455fa
tree9ed04681d018edd84be675407245a27128d79297
parente8b96542ea305825ae4dbf7c35f11275689ef564
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
bundles/org.simantics.diagram/plugin.xml
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/ConnectionCrossingsParticipant.java
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/CopyAsSVGParticipant.java [new file with mode: 0644]
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/SVGTransfer.java [new file with mode: 0644]
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/DiagramViewer.java
bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/events/command/Commands.java