...
- Go into "File > New > Example... > Eclipse Modeling Framework > Extended Library Model Example"
- Select "org.eclipse.emf.examples.library" and press "Finish".
- Double click on the extlibrary.ecore file, and you will see an editor with a hierarchical breakdown of the domain model.
Part #2: Relations
Find examples of containment / container and regular relations in the model.
Part #3: Extending the model
Use the model editor to add a new BookCategory. Hint: right-click on BookCategory > New Child... > Select EEnum Literal
Fill out "Literal", "Name" and "Value" properties for our new category.
Remember to save our ecore file, after the new category is added.
Part #4: Generating Java Code
First we want to validate our ecore model.
Right click on the root element and select "Validate"