Cannot get Dependency/Imports directly from SModel
Hey, I am trying to create a clone model without clone model action. I have the original model created with all imports and dependencies. The problem is accessing the dependencies or imports directly from the original model. There is no direct method to get those dependencies. Is there any alternative solution to get the dependency or imports from the model directly. Thanks in advance!
I am using this code to create the clone model.
Please sign in to leave a comment.
The implementation of the clone model action might help you: https://github.com/JetBrains/MPS/blob/master/workbench/mps-workbench/jetbrains.mps.ide/source_gen/jetbrains/mps/ide/dialogs/project/creation/NewModelDialog.java#L314