Skip to content

How to modify the model used by the ModelServer

Eugen Neufeld edited this page May 1, 2020 · 1 revision

Coffee Editor - Model Server Model

The Model Server is using an Ecore Model (for a tutorial on EMF see here). for the data it handles.

Example model used in the coffee editor

In the coffee example the coffee maker model is used.

Adapt model

The model server is configured here. This file defines the nsuri to be used, the file extensions to handle and registers the model. To use your own model you also need to adapt the pom so that the bundle with your model is used instead of the coffee model (see here). If you adapt the model make sure to replace it in all pom.xmls as otherwise other components like GLSP might be broken.