| Summary: | [ModelSet] Allow to have a Model representing 'additional resources' | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Cedric Dumoulin <cedric.dumoulin> |
| Component: | Core | Assignee: | Cedric Dumoulin <cedric.dumoulin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emilien.perico, mathieu.velten |
| Version: | 0.7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 335187 | ||
|
Description
Cedric Dumoulin
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
|