X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fscl%2FSimantics%2FUserComponent.scl;h=d79db922229d5c9c2bfa114d0f27c41e9f471d3f;hb=3edbf85ff8a7f1bd596857a24b1bdebd66943d6b;hp=ad62e1d6a3effcae29504af0ddab77c399cef685;hpb=c26409b1caf2f1e560d37c5befd11b442399c3fe;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 -> ()