Skip to content

How to adapt the JsonForms property-view with GlspSelections #126

Answered by ndoschek
ndoschek asked this question in All other
Discussion options

You must be logged in to vote

Hi @rsoika,

In general, the architecture of the Theia property-view is described in the initial Theia contribution. The example implementation in the description contributes a custom file info property view (tree-based).
Also, the jsonforms-property-view offers an example implementation, but without GLSP/ModelServer connection.

To use a JsonForms based property-view widget together with a GlspSelection (selected diagram element) there are three main parts to consider:

  1. By default, the GLSP theia-integration forwards its diagram selection to Theia, which includes selectedElementsIDs, widgetId and the sourceUri.
    It is possible to add additional data to the selection object (additionalSelec…

Replies: 2 comments 5 replies

Comment options

ndoschek
Mar 7, 2022
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by ndoschek
Comment options

You must be logged in to vote
5 replies
@ndoschek
Comment options

ndoschek Mar 8, 2022
Collaborator Author

@rsoika
Comment options

@ndoschek
Comment options

ndoschek Mar 9, 2022
Collaborator Author

@rsoika
Comment options

@ndoschek
Comment options

ndoschek Mar 10, 2022
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants