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

MDT/OCL/MDT-OCL 3.1.0 Migration Guide

< MDT‎ | OCL

Core plugins

There are no API changes.

Deprecations

The usage of the global EPackage.Registry as the default extent for model evaluation is now deprecated, since it has uncontrolled interactions with model registrations by other Eclipse projects. Applications should define their model extent explicitly.

The following constructors and instances are affected.

  • EcoreEvaluationEnvironment()

The usage of the environments without an associated factory is now deprecated, since the factory provides the 'meta-class' of the environment.

The following constructors and instances are affected.

  • EcoreEnvironment(EPackage.Registry)
  • EcoreEnvironment(EPackage.Registry, resource)

Mutation of the environment factory is deprecated now that the factory can be defined by the constructor.

  • EcoreEnvironment.setFactory(EnvironmentFactory)

Example plugins

These have evolved significantly to prototype UML-alignment of a pivot model.

They will evolve further for Juno.

Back to the top