]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/SharedOntologyExporter.java
Minor fix and optimization for exporting TG and Pgraph with sharedlib
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / sharedontology / wizard / SharedOntologyExporter.java
index 226aa840f88af9cf6c91da5f6b5350cafdea64ed..410d1797661f7d3e62412cf717268bad5043b370 100644 (file)
@@ -82,8 +82,7 @@ public class SharedOntologyExporter implements IRunnableWithProgress {
        if (pgraphAndTg) {
             try {
                 Path input = Paths.get(location.toURI());
-                FixExportedOntology.createTg(input);
-                FixExportedOntology.createPGraph(input);
+                FixExportedOntology.createTGAndPGraph(input);
             } catch (Exception e) {
                 LOGGER.error("Could not generate TG and Pgraph", e);
             }