Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly 00/1800/2 release/1.32.0
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 24 May 2018 22:29:31 +0000 (01:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 24 May 2018 22:31:36 +0000 (22:31 +0000)
commit290c3cfc8bf5a7b2cc6e8532f124512e0bf10517
tree6da2d87a36ca21c3208be8ddc9f8d164b87868e9
parent980d21d8a26dddd2e57dbffdc8f320a76aa0973e
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly

The previous fix done for the same problem in Simantics redmine issue
7842 and commits
c912edf13bf5a91b2f6dc855f54d8728aa0a64f5,
803c42fd316859809eaeb3dc6a88b22cbf86b4b6 and
0cfc6a9b8b186ba432bc6758c089726b1471fd1f was simply wrong. Using
ModelingUtils.needsIdentifier is the most proper way to fix this.

gitlab #10

Change-Id: Id7cdc32a6596588154913fced742d751ce6ba864
bundles/org.simantics.modeling/src/org/simantics/modeling/mapping/ComponentCopyAdvisor.java