How do I add new custom elements (beyond tasks and nodes) in the GLSP VS Code example? #1489
Replies: 1 comment
-
Hi @pmachadoblatt ! Welcome to the GLSP community! I'm happy to help you expand the example with custom elements. In general, you can find our documentation online, for especially the section about the Graphical Model is relevant: https://eclipse.dev/glsp/documentation/gmodel/. As for examples:
To add new elements like "functions" and "subfunctions" you'll need to make changes to both the server (which will create those elements from a model source) and the client (that will render the elements). So you probably would do something like this:
I hope that this will help you get started and feel free to share any specific issues or questions as you go. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I’m quite new to GLSP and currently working with the VS Code example that only includes “task” and “node” elements. I’d like to expand it by adding additional custom elements, think "functions" and “subfunctions”, on a hierarchy, for instance, but I’m not sure where to start.
Thanks in advance for any help you can provide! I appreciate any pointers or code snippets that could guide me through the process.
Beta Was this translation helpful? Give feedback.
All reactions