Skip to the content.

EMF and Ecore files

Fulib can import Eclipse Modeling Framework / .ecore files. By putting the .ecore file into src/gen/resource, you can load it with a ClassModelManager:

src/gen/java/org/fulib/docs/GenModel.java:

cmm.apply(new ECoreLoaderPlugin(getClass().getResource("example.ecore").toString()));

Fulib can parse the following components from EMF:

All declarations are merged with the existing class model, allowing you to mix fulibScenarios, GenModel and EMF freely.