From 164524fd35dab8a6332f7382b94f952325c0ac39 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Mon, 18 Nov 2019 13:13:21 +0200 Subject: [PATCH] Update version numbers and API to 1.35.2. Use new API of TerminalUtil.pickTerminal(). Change-Id: I6c3dcefbffbd8250eefd7f2ea642355fb6b8117f --- bundles/org.simantics.sysdyn.product/plugin.properties | 2 +- .../sysdyn/ui/editor/participant/SysdynPointerInteractor.java | 2 +- releng/org.simantics.sysdyn.rcp.product/sysdyn.product | 2 +- releng/org.simantics.sysdyn.tycho.configuration/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/org.simantics.sysdyn.product/plugin.properties b/bundles/org.simantics.sysdyn.product/plugin.properties index ec483163..2501cd55 100644 --- a/bundles/org.simantics.sysdyn.product/plugin.properties +++ b/bundles/org.simantics.sysdyn.product/plugin.properties @@ -1,6 +1,6 @@ about.text = Simantics System Dynamics\n\ \n\ -Version 1.35.0\n\ +Version 1.35.2\n\ \n\ Copyright (c) 2018 Association for Decentralized Information Management in Industry THTH ry.\n\ \n\ diff --git a/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynPointerInteractor.java b/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynPointerInteractor.java index ef74d7b5..3d6e871a 100644 --- a/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynPointerInteractor.java +++ b/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynPointerInteractor.java @@ -181,6 +181,6 @@ public class SysdynPointerInteractor extends PointerInteractor { public List pickTerminals(Point2D controlPos) { Rectangle2D controlPickRect = new Rectangle2D.Double(controlPos.getX()-SysdynPointerInteractor.PICK_DIST, controlPos.getY()-SysdynPointerInteractor.PICK_DIST, SysdynPointerInteractor.PICK_DIST*2+1, SysdynPointerInteractor.PICK_DIST*2+1); Shape canvasPickRect = GeometryUtils.transformShape(controlPickRect, util.getInverseTransform()); - return TerminalUtil.pickTerminals(diagram, canvasPickRect, false, true); + return TerminalUtil.pickTerminals(getContext(), diagram, canvasPickRect, false, true); } } diff --git a/releng/org.simantics.sysdyn.rcp.product/sysdyn.product b/releng/org.simantics.sysdyn.rcp.product/sysdyn.product index 49f7b2e9..6d8e492b 100644 --- a/releng/org.simantics.sysdyn.rcp.product/sysdyn.product +++ b/releng/org.simantics.sysdyn.rcp.product/sysdyn.product @@ -1,7 +1,7 @@ - + diff --git a/releng/org.simantics.sysdyn.tycho.configuration/pom.xml b/releng/org.simantics.sysdyn.tycho.configuration/pom.xml index c238f119..bfac136c 100644 --- a/releng/org.simantics.sysdyn.tycho.configuration/pom.xml +++ b/releng/org.simantics.sysdyn.tycho.configuration/pom.xml @@ -11,7 +11,7 @@ 1.0.0 1.0.0 UTF-8 - release/1.35.0 + release/1.35.2 http://www.simantics.org/download -- 2.47.1