]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Expose TransferableGraphImportProcess Resources table. 39/3739/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:01:36 +0000 (13:01 +0000)
This allows us to process the Resources with ImportAdvisor.beforeWrite()

gitlab #433

Change-Id: I4537549167e4816bb888b5891aea7e98d84b9184

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);