-
Hi, Building the glsp-workflow-server and starting the diagram.html from the workflow-standalone code base in a browser works all fine so far. But now I tried t understand how to bring my own model. My expectation is, that I define my .ecore file in the model folder and than I choose from the context menu of the EMF file: New->Other->EMF Generator Model But then when I try to load the model, the Eclipse EMF Generator shows a validation error: The reason for that validation is (as far as I understand for now) the missing These types are references to the glsp-server code. How can I define those reference in case my code repo does not include the org.eclipse.glsp.graph model ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I figured out that I can copy the glsp-graph.ecore file into my project and I tweaked the .ecore file by changing the eSuperType path. This helped to generate my classes. See my Documentation here: Would it make sense to provide some kind of documentation also in the glsp project? Or is this a kind of competition in reverse engeneering ;-) |
Beta Was this translation helpful? Give feedback.
I figured out that I can copy the glsp-graph.ecore file into my project and I tweaked the .ecore file by changing the eSuperType path. This helped to generate my classes.
See my Documentation here:
https://github.com/rsoika/glsp-workflow-example/tree/master/glsp-workflow-example-server#bring-your-own-model-extending-glsp-using-an-external-emf-model
Would it make sense to provide some kind of documentation also in the glsp project? Or is this a kind of competition in reverse engeneering ;-)