]> gerrit.simantics Code Review - simantics/platform.git/commit
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before 73/4473/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Sep 2020 11:45:47 +0000 (14:45 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Sep 2020 11:55:57 +0000 (11:55 +0000)
commit1d1bc61bce6067313055687cc32f33a442777df3
tree6996146158757651f6221fdef2bf8637c52fb3f8
parent3f3d45d8b14d78c23d5d941e304f8ddf7874d02a
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before

This implementation works so that it copies any IsRelatedTo statements
where both the subject and object have been copied during the normal
(old) copy process. The statements are marked as pending during the copy
and post-processed after everything else has been copied.

gitlab #607

Change-Id: I9170a448c127e0c7de6eae4260db5799ad7644bb
(cherry picked from commit 99395a7780ef1626d3ae97183ef4ae717f32b215)
bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/CopyAdvisorUtil.java
bundles/org.simantics.modeling/src/org/simantics/modeling/mapping/ComponentCopyAdvisor.java