]> gerrit.simantics Code Review - simantics/platform.git/commit
Moved RouteGraphConnectionClass to org.simantics.g2d.elementclass 17/3417/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 29 Oct 2019 10:55:05 +0000 (12:55 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 29 Oct 2019 10:56:43 +0000 (10:56 +0000)
commit28438fa467ae60dd63515be2df724c6ff9c299c9
treedce842f7aacff1f506e54728771f1bb04417f367
parent04bf1d8e31c85530bcd47d41051362533997134e
Moved RouteGraphConnectionClass to org.simantics.g2d.elementclass

Previously the class was in bundle org.simantics.diagram, which depends
on database bundles and other things that RouteGraphConnectionClass does
not need or use.

In #396 the RouteGraphConnectionClass.KEY_RG_NODE would be needed in
org.simantics.g2d and therefore it makes sense to move it there.

gitlab #410

Change-Id: I491b8caeffa1a3c455af7815ce9372a9e5df722e
bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/RouteGraphConnectionClassFactory.java
bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/RouteGraphUtils.java
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/ConnectTool2.java
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/RouteGraphConnectTool.java
bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/RouteGraphConnectionClass.java [moved from bundles/org.simantics.diagram/src/org/simantics/diagram/connection/RouteGraphConnectionClass.java with 99% similarity]
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/ConnectionPointNameStyle.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java
bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/TypicalUtil.java