From 6efcc2873091c30cbc6dbc47f5601bd62813b99f Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Tue, 26 Feb 2019 23:45:19 +0200 Subject: [PATCH] Expose transform of NetworkDrawingParticipant * for programmatic vertex creation gitlab #31 Change-Id: Ia2a337fb92dab169a5b2c74f13c93a88998f4617 --- .../district/network/ui/NetworkDrawingParticipant.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java index c020c33d..73abf31e 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java @@ -88,4 +88,7 @@ public class NetworkDrawingParticipant extends AbstractDiagramParticipant { return changed; } + public AffineTransform getTransform() { + return transform; + } } -- 2.47.1