]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added getter for GraphToDiagramSynchronizer to DSGP
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 13 Dec 2018 13:39:50 +0000 (15:39 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 13 Dec 2018 13:40:37 +0000 (15:40 +0200)
Change-Id: I7777d06df70c9f30d5bda83b72208f88b969084a

bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sg/DiagramSceneGraphProvider.java

index ebfa4d72566e8b9e14698990edcdb2420857a816..52c024f6baddfe9baadce6d7acfe76e39fed27d8 100644 (file)
@@ -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<CopyPasteStrategy>(resource, CopyPasteStrategy.class));