Community
Participate
Working Groups
When using "Save as...", only the main model is saved to the new locations. All controlled resources are saved in-place. Expected behavior: The controlled resources should keep the same relative position to the main model. For example: /MainModel /Package1/ControlledModel Save as to "/MyFolder" should result in: /MyFolder /MyFolder/MainModel /MyFolder/Package1/ControlledModel Corner cases need to be identified. For example, when using "Save as..." in the same folder, the relative URIs of controlled models remain untouched. In this case, we have two options: - Do not touch the controlled models (They are shared by two different main models) - Rename the controlled models
Current state (From enhancements in bug 429239): The notation resource associated to the controlled UML resource is now properly loaded. However, the resource is not considered as "controlled" (Because only the *.uml resource is controlled; the diagrams only live in different resources, which are located next to the controlled *.uml resource). The "setModelURI" needs to be overridden for NotationModel and DiModel, to update resources which are related to controlled resources (In addition to controlled resources themselves)
Gerrit review: https://git.eclipse.org/r/#/c/26434/ The contribution has been merged
> The contribution has been merged I close the task