Skip to content

Need Help with customizing Tools Module #373

Answered by planger
glsp-bot asked this question in Q&A
Discussion options

You must be logged in to vote

On initialization of the tool palette, the client sends a RequestContextAction with the context ToolPalette.ID to the server. The items responded by the server are then shown in the palette. The client code is here:
https://github.com/eclipse-glsp/glsp-client/blob/884f860bf2732ca9551ab6ff34647c249c224262/packages/client/src/features/tool-palette/tool-palette.ts#L309
So the retrieved items sent by the server are stored in the field this.paletteItems of the ToolPalette instance, which itself is a UI extension.

Replies: 6 comments 4 replies

Comment options

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

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@vibsid0986-zz
Comment options

@planger
Comment options

@vibsid0986-zz
Comment options

@planger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants