From: Marko Luukkainen Date: Wed, 18 Dec 2019 10:34:09 +0000 (+0200) Subject: Expose TransferableGraphImportProcess Resources table. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=680b5fe108fc6929d40785c76ec7444bbb092f51;p=simantics%2Fplatform.git Expose TransferableGraphImportProcess Resources table. This allows us to process the Resources with ImportAdvisor.beforeWrite() gitlab #433 Change-Id: I4537549167e4816bb888b5891aea7e98d84b9184 --- 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 3b3c78bac..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,6 +174,10 @@ public class TransferableGraphImportProcess implements TransferableGraphImporter missingExternals.add(external); } + public Resource[] getResources() { + return resources; + } + public void prepare(ReadGraph graph) throws DatabaseException { findBuiltins(graph);