Access restriction: The type [yourClass] is not accessible due to restriction on required project

if you get a error like in the headline, you can get rid of it by editing the plugin.xml (in the basedir of you EMF project where your Model exists) and click the "runtime" tab.
You need to add to the "Exported Packages" the base files you want to use.

Most of the times its ->

  • yourPackagename
  • yourPackagename.impl
  • yourPackagename.util