Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Graphical Modeling Framework/Migration

< Graphical Modeling Framework
Revision as of 12:59, 20 October 2006 by Dstadnik.borland.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Back to the top