Skip to content

Adding a Custom Property View to a Theia GLSP Client #860

Answered by ndoschek
Ginxss asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Ginxss,
Thanks for your interest in GLSP and the Theia property view!

Your snippet looks good to me overall, however the super call is missing. Other than that and with the provided example code the property view should show your custom widget for the handled selection.

I can provide an example that listens to GLSP selections (as the linked tutorial is plain Theia documenation):
https://github.com/eclipse-glsp/glsp-examples/tree/property-view-example
This minimal example listens to GLSP selections and prints the ID of the selected GLSP diagram element.

HTH and best regards,
Nina

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@amiths89
Comment options

@planger
Comment options

@amiths89
Comment options

@rsoika
Comment options

@amiths89
Comment options

Answer selected by Ginxss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants