From 735e51894a89f6f86629a142c789d94591f3ba8e 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 6574b31b6..9eb653f26 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