Expose TransferableGraphImportProcess Resources table. 41/3741/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 18 Dec 2019 10:34:09 +0000 (12:34 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 13 Jan 2020 13:57:32 +0000 (13:57 +0000)
This allows us to process the Resources with ImportAdvisor.beforeWrite()

gitlab #433

Change-Id: I4537549167e4816bb888b5891aea7e98d84b9184
(cherry picked from commit 680b5fe108fc6929d40785c76ec7444bbb092f51)

bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java

index 3b3c78bac7039c6c7e31147de6bf06a39c084d94..6a699d81bce51fa7a46ea1f7c2ff8fe0c00d727f 100644 (file)
@@ -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);