Community
Participate
Working Groups
Additional resources are the resources indirectly referenced by one of the main Resources (uml, notation, sash). It could be interesting to have a model representing this additional resources. The 'additional model' could allow to save the additional resources. The choice to save or not additional resources should be set in preferences. This functionality is required by the ControlMode.
A possible solution can be: - have a IModel managing AdditionalResources (class AdditionalResources implements IModel) - In AdditionalResources, define required methods + for example: addResourceToSave(Resource) // Add/Register a resource that will be saved when the model is save) + when AdditionalResources.save() is called, save the registered resources ControlMode can then register the resources that it needs to save. It do it when it encountered such resource (the IModel can be retrieved from the ModelSet which can be retrieved as a Service). The registered resources will be saved when all the model are saved (when user do a save). Another solution is to define precisely what is an 'Additional Resource', and implement an algorithm that save them when other Model are saved.
Additional resources are now managed from an IModel
> Additional resources are now managed from an IModel I close the task