Use new API of TerminalUtil.pickTerminal().
Change-Id: I6c3dcefbffbd8250eefd7f2ea642355fb6b8117f
about.text = Simantics System Dynamics\n\\r
\n\\r
-Version 1.35.0\n\\r
+Version 1.35.2\n\\r
\n\\r
Copyright (c) 2018 Association for Decentralized Information Management in Industry THTH ry.\n\\r
\n\\r
public List<TerminalInfo> pickTerminals(Point2D controlPos) {\r
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);\r
Shape canvasPickRect = GeometryUtils.transformShape(controlPickRect, util.getInverseTransform());\r
- return TerminalUtil.pickTerminals(diagram, canvasPickRect, false, true);\r
+ return TerminalUtil.pickTerminals(getContext(), diagram, canvasPickRect, false, true);\r
}\r
}\r
<?xml version="1.0" encoding="UTF-8"?>\r
<?pde version="3.5"?>\r
\r
-<product name="Simantics System Dynamic Tool" uid="Simantics-Sysdyn" id="org.simantics.sysdyn.product.product" application="org.simantics.workbench.application" version="1.35.0" useFeatures="true" includeLaunchers="true">\r
+<product name="Simantics System Dynamic Tool" uid="Simantics-Sysdyn" id="org.simantics.sysdyn.product.product" application="org.simantics.workbench.application" version="1.35.2" useFeatures="true" includeLaunchers="true">\r
\r
<aboutInfo>\r
<image path="/org.simantics.sysdyn.product/icons/simantics_sysdyn128.png"/>\r
<tycho.version>1.0.0</tycho.version>
<tycho.extras.version>1.0.0</tycho.extras.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <branch-spec>release/1.35.0</branch-spec>
+ <branch-spec>release/1.35.2</branch-spec>
<simantics-download-site>http://www.simantics.org/download</simantics-download-site>
</properties>