From b8ed0012d08471865ce5a08388eceb2161eea4a3 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Wed, 7 Nov 2018 15:54:50 +0200 Subject: [PATCH] Dirty hack to create right type of connections --- .../org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java index 6574b31b6..ebfa4d725 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java @@ -364,7 +364,7 @@ public class DiagramSceneGraphProvider implements ICanvasSceneGraphProvider, IDi } GraphToDiagramSynchronizer sync = new GraphToDiagramSynchronizer(graph, ctx, ElementClassProviders.mappedProvider( - ElementClasses.CONNECTION, DefaultConnectionClassFactory.CLASS.newClassWith(new StaticObjectAdapter(dr.Connection)), + ElementClasses.CONNECTION, DefaultConnectionClassFactory.CLASS.newClassWith(new StaticObjectAdapter(dr.RouteGraphConnection)), ElementClasses.FLAG, FlagClassFactory.createFlagClass(dr.Flag, dr.Flag_Terminal) ) ); -- 2.47.1