Example:
> renameNode resource "NewName"
- "Succesfully renamed oldName to NewName"
+ "Successfully renamed oldName to NewName"
or error if failed
"""
Example:
> renameMBNode entity "NewName"
- "Succesfully renamed oldName to NewName"
+ "Successfully renamed oldName to NewName"
or error if failed
"""
+@deprecated "This function is equivalent to renameNode."
renameMBNode :: Resource -> String -> <WriteGraph> String
-renameMBNode entity newname = do
- renameNode (toResource entity) newname
+renameMBNode entity newname = renameNode entity newname
importJava "org.simantics.db.common.utils.NameUtils" where
@JavaName findFreshName