import org.simantics.issues.ontology.IssueResource;\r
import org.simantics.layer0.Layer0;\r
import org.simantics.layer0.utils.direct.GraphUtils;\r
+import org.simantics.modeling.utils.BatchValidations;\r
import org.simantics.operation.Layer0X;\r
import org.simantics.simulation.ontology.SimulationResource;\r
import org.simantics.structural.stubs.StructuralResource2;\r
}\r
\r
});\r
+ \r
+\r
+ try {\r
+ BatchValidations.runAll(null, ModelRoot);\r
+ } catch(Throwable t) {\r
+ t.printStackTrace();\r
+ } \r
+\r
+\r
+ \r
} catch (DatabaseException e) {\r
e.printStackTrace();\r
}\r