]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Expose transform of NetworkDrawingParticipant 32/2732/2
authorjsimomaa <jani.simomaa@gmail.com>
Tue, 26 Feb 2019 21:45:19 +0000 (23:45 +0200)
committerJani Simomaa <jani.simomaa@semantum.fi>
Tue, 26 Feb 2019 21:45:44 +0000 (21:45 +0000)
* for programmatic vertex creation

gitlab #31

Change-Id: Ia2a337fb92dab169a5b2c74f13c93a88998f4617

org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java

index c020c33d67e65abae9788aa9a3ea761e929c9e53..73abf31e575bb7f03047793df0f272146ba67c01 100644 (file)
@@ -88,4 +88,7 @@ public class NetworkDrawingParticipant extends AbstractDiagramParticipant {
         return changed;
     }
 
+    public AffineTransform getTransform() {
+        return transform;
+    }
 }