Skip to content

Description of the predefined glsp-client elements? #538

Answered by planger
rsoika asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the node types and views are located in Sprotty.

The same is true for the Nameable and WithEditableLable (see e.g. https://github.com/eclipse/sprotty/blob/master/packages/sprotty/src/features/edit/model.ts). These are extensions of the model with additional properties to enable certain additional client-side capabilities or behaviors, such as that you can invoke editing on a label or element that contains a label or that an element has a name and thus can be found by name.

Those features are typically structured as follows:
Each feature is defined by the files within a folder under features. In this folder, model.ts defines the model extensions required for the feature and the di.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants