-
|
@rsoika asked in #123 (comment):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hi @rsoika, In general, the architecture of the Theia To use a JsonForms based
Next up is to implement In our case (as we want to use a JsonForms based widget in the end), we will extend the JsonFormsPropertyDataService. This data service can additionally provide JSON type schemas and UI schemas for JsonForms.
We can extend the Putting these dots together will provide a JsonForms based property-view for a diagram selection. Hope that helps clearing things up, and please let me know if it works out for you. BR, Nina |
Beta Was this translation helpful? Give feedback.
-
|
I started now again from scratch with the example implementation of the I think I have now narrowed down the problem to the following dependency If I add this dependency to my working application (only the dependency without any additional moduls or source files from the property-view feature) the yarn build breaks with a error message like this: I guess there is something wrong with my general dependency config, which is identically from the latest version of the glsp-examples/minimal/. Do you know what the reason for this message could be? Below I post the complete output of my frontend build process: |
Beta Was this translation helpful? Give feedback.
Hi @rsoika,
In general, the architecture of the Theia
property-viewis described in the initialTheia contribution. The example implementation in the description contributes a custom file info property view (tree-based).Also, the
jsonforms-property-viewoffers an example implementation, but without GLSP/ModelServer connection.To use a JsonForms based
property-viewwidget together with aGlspSelection(selected diagram element) there are three main parts to consider:By default, the GLSP
theia-integrationforwards its diagram selection to Theia, which includesselectedElementsIDs,widgetIdand thesourceUri.It is possible to add additional data to the selection object (
additionalSelec…