]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
ModelImportWizard.doImport does not import the model to specified target 21/821/2
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 9 Aug 2017 10:00:35 +0000 (13:00 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 10 Aug 2017 14:15:59 +0000 (17:15 +0300)
When triggered from the UI the target should always be the project
resource. Otherwise any target resource should be accepted.
DefaultPasteImportAdvisor must be used instead of the
ModelImportAdvisor, since ModelImportAdvisor always replaces the target
with the project resource (to support copy-pasting of models in UI).

refs #7418

Change-Id: I1b7eaef30ab32154319822c0615b9ab96a3f70b6


No differences found