X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graph.db%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fdb%2FTransferableGraphImportProcess.java;h=6a699d81bce51fa7a46ea1f7c2ff8fe0c00d727f;hp=4ec7138660fc2dd8c585fefe07bceb96bc4b5c00;hb=32a17a670cf4f9d459917495be5f4a504afac205;hpb=da0a902de6b2b4c7b4b635d11b397f663db8ecd9 diff --git a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java index 4ec713866..6a699d81b 100644 --- a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java +++ b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java @@ -174,7 +174,11 @@ public class TransferableGraphImportProcess implements TransferableGraphImporter missingExternals.add(external); } - void prepare(ReadGraph graph) throws DatabaseException { + public Resource[] getResources() { + return resources; + } + + public void prepare(ReadGraph graph) throws DatabaseException { findBuiltins(graph); Resource[] resources = new Resource[tg.resourceCount]; @@ -338,7 +342,7 @@ public class TransferableGraphImportProcess implements TransferableGraphImporter } - void write(WriteOnlyGraph graph) throws DatabaseException { + public void write(WriteOnlyGraph graph) throws DatabaseException { Resource[] resources = this.resources;