Graphical Modeling Framework/Migration

From Eclipsepedia

< 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)
Jump to: navigation, search

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