]> gerrit.simantics Code Review - simantics/platform.git/commit
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before 72/4372/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:45 +0000 (11:55 +0000)
commitfc9dd64c8ee2b35fb665f6979a80edf08bf09c1f
treeebb21579f1a2517f0ffe33b9bf30ef0e21cf0fa7
parent29bd07b8acc3603baa059c80ad38d22385f2bd10
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