Open klinakuf opened 1 month ago
There exist a meta-model and API on which EMF relies for describing and applying changes to EMF models: https://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/org/eclipse/emf/ecore/change/package-summary.html.
By relying on the change description meta-model, every extension that changes the initial Palladio model is responsible to describe the changes they made. In our case, for example SPD, extensions change the in-memory model directly and other extensions can see the effects immediatly in the next read, however in some cases (resource simulation) they need to know what has changed. So, the core could provide only the event with the change description(s) which extensions could utilize. The ChangeDescriptions of EMF are meant to be applied, however, that has somehow to be forbiden in our case.
Requirement: Core shall provide generic support for expressing changes in the simulation model
The current support is whatever existed in the SPD model (see https://github.com/PalladioSimulator/Palladio-Analyzer-Slingshot/pull/26), however we are interested to have a generic mean/interface that allows different extensions to implement their own changes.
Also , we want the core support to be PCM-agnostic.