]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added getter for GraphToDiagramSynchronizer to DSGP private/spreadsheet2
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 13 Dec 2018 13:39:50 +0000 (15:39 +0200)
committerAntti Villberg <antti.villberg@semantum.fi>
Fri, 14 Dec 2018 06:02:36 +0000 (08:02 +0200)
Change-Id: I7777d06df70c9f30d5bda83b72208f88b969084a

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

index 6574b31b628bfbc735ba884415199c266b036a09..9eb653f263b605f9fd5044481320c119d0e94dff 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));