Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Graphical Modeling Framework/Migration
Metamodels change between major GMF releases and so user models should be transformed to conform to the new schema. When metamodel is changed so it is not compatible anymore we increment version number in package namespace uri of the metamodel. When model is being loaded this is used to trigger migration. There is also an action available from model file context menu to migrate the model.
Extending Migration
This section is for developers that introduce changes in GMF models and have to reflect these changes in migration.
Related classes:
- MigrationResource resource capable of loading older models and transforming them on the fly.
- MigrationConfig configuration and handler that actually converts model