Need help to implement "+" animation for nested nodes #452
-
I am using GLSP's vscode extension(https://github.com/eclipse-glsp/glsp-vscode-integration) and language server which extends GLSP server. I am creating nodes using GModel. I want to add + button to display/hide nested nodes. How we can implement this feature? My idea: When user click "+" icon, we will call layout operation and we will add/remove child/nested nodes while layout generation based on the boolean value(new filed added to model state) stored in the model state(org.eclipse.glsp.server.model.GModelState). We will update this new filed when user clicks "+" icon. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are a few different approaches to implement such a button feature:
|
Beta Was this translation helpful? Give feedback.
There are a few different approaches to implement such a button feature: