Replies: 3 comments 13 replies
-
Hi @csamarchi, after you have successfully integrated your custom source model, the next step is to generate a GModel with a custom It looks like your current The client doesn't know your YAML files and can only process and render GModels, which are created on the server from your YAML files. See also https://www.eclipse.org/glsp/documentation/gmodel/ Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Also - we are using the Workflow example and TaskList example for our node server vscode extension scenario. I'm aware that the workflow example does not use a GModelFactory instead uses the so-called NullImpl of the GModelFactory. Does that have any affect on our use case? |
Beta Was this translation helpful? Give feedback.
-
@csamarchi I have written a short tutorial about the concept of the GmodelFactory and SourceModelStorage. We use a java implementation to load and build our own model. Maybe this can be helpful for your understanding: https://ralph.blog.imixs.com/2022/05/20/build-your-own-modelling-tool-with-eclipse-glsp/ |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I have a Node server VsCode extension graphical model going. I am using a YAML file and parsing it with our own parsing method and it is working, I am able to parse our file, loop through, and build instances of our model types and add them to the model state. See the function below:
I'm trying to figure out the next steps and wondering if I'm missing something. Is there another step needed on the server side or is the rest done in the client? I know Node projects do not use GModelFactory, they must be custom, and I think that might be the the next step before rendering/building out on the client side, but wanted to get a better explanation?
Our GModelFactory is following the format of the TaskList example here.
Here is the erroring I'm running into (thought it could provide some extra context):
Any help is much appreciated
Beta Was this translation helpful? Give feedback.
All reactions