From: jsimomaa Date: Tue, 26 Feb 2019 21:45:19 +0000 (+0200) Subject: Expose transform of NetworkDrawingParticipant X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F2732%2F2;p=simantics%2Fdistrict.git Expose transform of NetworkDrawingParticipant * for programmatic vertex creation gitlab #31 Change-Id: Ia2a337fb92dab169a5b2c74f13c93a88998f4617 --- 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; + } }