import java.util.Set;
import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.osgi.framework.Bundle;
import org.simantics.Simantics;
import org.simantics.databoard.Bindings;
}
public static void compilePGraphs(Resource r, UserAgent userAgent) throws IOException, DatabaseException {
+ compilePGraphs(r, userAgent, new NullProgressMonitor());
+ }
+
+ public static void compilePGraphs(Resource r, UserAgent userAgent, IProgressMonitor monitor) throws IOException, DatabaseException {
final Collection<ISource> sources = new ArrayList<>();
Collection<TransferableGraph1> dependencies = new ArrayList<>();
}
});
}
+
+ // Delete index to get rid of floating old instances of the same ontology
+// DatabaseIndexing.deleteAllIndexes();
}
private static File extractLib(URL libURL, String libName) throws FileNotFoundException, IOException {