From: Jussi Koskela Date: Thu, 13 Dec 2018 13:39:50 +0000 (+0200) Subject: Added getter for GraphToDiagramSynchronizer to DSGP X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=c70cf3c0f64358efa01c5317c391ce194909ddeb;p=simantics%2Fplatform.git Added getter for GraphToDiagramSynchronizer to DSGP Change-Id: I7777d06df70c9f30d5bda83b72208f88b969084a --- 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));