From 6954abe324e194c32f3611356b015eb691fa4f15 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Thu, 13 Dec 2018 15:39:50 +0200 Subject: [PATCH] Added getter for GraphToDiagramSynchronizer to DSGP Change-Id: I7777d06df70c9f30d5bda83b72208f88b969084a --- .../simantics/modeling/ui/sg/DiagramSceneGraphProvider.java | 4 ++++ 1 file changed, 4 insertions(+) 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 ebfa4d725..52c024f6b 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 @@ -171,6 +171,10 @@ public class DiagramSceneGraphProvider implements ICanvasSceneGraphProvider, IDi } } + public GraphToDiagramSynchronizer getGraphToDiagramSynchronizer() { + return synchronizer; + } + protected CopyPasteStrategy getCopyPasteStrategy() { try { CopyPasteStrategy cpStrategy = Simantics.getSession().syncRequest(new PossibleAdapter(resource, CopyPasteStrategy.class)); -- 2.47.1