X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fscl%2FSimantics%2FUserComponent.scl;h=d79db922229d5c9c2bfa114d0f27c41e9f471d3f;hb=0f7642b3bd653687a880733e4673b450e3612c6c;hp=ad62e1d6a3effcae29504af0ddab77c399cef685;hpb=f6e8b2391fa7b6dfdd2cf8dd2b8bbe5750c57c70;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling/scl/Simantics/UserComponent.scl b/bundles/org.simantics.modeling/scl/Simantics/UserComponent.scl index ad62e1d6a..d79db9222 100644 --- a/bundles/org.simantics.modeling/scl/Simantics/UserComponent.scl +++ b/bundles/org.simantics.modeling/scl/Simantics/UserComponent.scl @@ -158,4 +158,7 @@ navigateToSubstructureAction element = do match (syncRead (\x -> possibleSubstructureEditor element)) with Nothing -> () Just (configuration,editor) -> openEditor editor configuration - \ No newline at end of file + +importJava "org.simantics.modeling.MigrateModel" where + "changeAllComponentTypes model oldComponentType newComponentType" + changeAllComponentTypes :: Resource -> Resource -> Resource -> ()