]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/scl/Simantics/UserComponent.scl
Support subrelations of DIA.Flag.ConnectionPoint in Diagram.setElements
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / UserComponent.scl
index ad62e1d6a3effcae29504af0ddab77c399cef685..d79db922229d5c9c2bfa114d0f27c41e9f471d3f 100644 (file)
@@ -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 -> <WriteGraph> ()