From 680b5fe108fc6929d40785c76ec7444bbb092f51 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Wed, 18 Dec 2019 12:34:09 +0200 Subject: [PATCH] Expose TransferableGraphImportProcess Resources table. This allows us to process the Resources with ImportAdvisor.beforeWrite() gitlab #433 Change-Id: I4537549167e4816bb888b5891aea7e98d84b9184 --- .../simantics/graph/db/TransferableGraphImportProcess.java | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.43.2