From: Tuukka Lehtonen Date: Sat, 1 Sep 2018 10:25:13 +0000 (+0300) Subject: Adapt to simantics/platform/issues/74 changes X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F2071%2F1;p=simantics%2Fsysdyn.git Adapt to simantics/platform/issues/74 changes gitlab #29 Change-Id: Icae655ade289458053a9631c42b262ffc57f8425 --- diff --git a/bundles/org.simantics.sysdyn/src/org/simantics/sysdyn/modelExport/SysdynModelExporter.java b/bundles/org.simantics.sysdyn/src/org/simantics/sysdyn/modelExport/SysdynModelExporter.java index 333a654d..368cb44f 100644 --- a/bundles/org.simantics.sysdyn/src/org/simantics/sysdyn/modelExport/SysdynModelExporter.java +++ b/bundles/org.simantics.sysdyn/src/org/simantics/sysdyn/modelExport/SysdynModelExporter.java @@ -70,7 +70,7 @@ public class SysdynModelExporter { if(uri == null) continue; CopyHandler ch = graph.adapt(library, CopyHandler.class); SimanticsClipboardImpl clipboard = new SimanticsClipboardImpl(); - ch.copyToClipboard(graph, clipboard); + ch.copyToClipboard(graph, clipboard, mon); for (Set object : clipboard.getContents()) { TransferableGraph1 tg = ClipboardUtils.accept(graph, object, SimanticsKeys.KEY_TRANSFERABLE_GRAPH); if(tg != null) modelDependencies.addFirst(new ModelDependency(uri, tg));