Skip to content

Commit d0f662c

Browse files
committed
Update to latest client changes
- Update glsp next dependencies - Use debuggable feature ids for all vscode feature modules - Fix bug with `vscodeNavigationModule` that accidently reused the feature id from the navigation module instead of requiring it - Adjust tool palette css - Customize css for newly introduced features - Ensure that `GLSPProjectionView` is properly rendered - disable overflow of root div - Add mouse listeners to diagram widget to only show projections bars when the diagram is focused - Update example1.wf - Fix title menu contributions. Vscode now requires an icon to render them properly
1 parent d6654e4 commit d0f662c

File tree

16 files changed

+848
-649
lines changed

16 files changed

+848
-649
lines changed

CHANGELOG.MD

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Eclipse GLSP VSCode Integration Changelog
22

3+
## 2.2.0 - active
4+
5+
### Changes
6+
7+
- [diagram] Fix minor styling and behavioral issues when using `GLSPProjectionView` [#62](https://github.com/eclipse-glsp/glsp-vscode-integration/pull/62)
8+
9+
### Potentially Breaking Changes
10+
11+
- [protocol] Fix a bug in the client-server action forwarding that prevented proper marking and handling of server received actions [#58](https://github.com/eclipse-glsp/glsp-vscode-integration/pull/58)</br> Following classes and methods are now deprecated:
12+
- `VsCodeGLSPModelSource`: Rebinding to a custom model source is no longer necessary. Use the default `GLSPModelSource` instead.
13+
- `ExtensionAction`: The concept of marking actions as locally dispatched `ExtensionActions` is no longer necessary and usage is discouraged.
14+
- `GlspVscodeConnector.sendToActiveClient`: Use `GlspVscodeConnector.dispatchAction` instead.
15+
- `GlspVscodeConnector.setActionToClient`: Use `GlspVscodeConnector.dispatchAction` instead.
16+
317
## [2.1.0 - 24/01/2024](https://github.com/eclipse-glsp/glsp-vscode-integration/releases/tag/v2.1.0)
418

519
## [2.0.0 - 14/10/2023](https://github.com/eclipse-glsp/glsp-vscode-integration/releases/tag/v2.0.0)

example/workflow/extension/package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,24 @@
6060
"enablement": "activeCustomEditorId == 'workflow.glspDiagram'"
6161
},
6262
{
63-
"command": "workflow.goToNextNode",
64-
"title": "Go to next Node",
63+
"command": "workflow.goToPreviousNode",
64+
"title": "Go to previous Node",
65+
"icon": "$(arrow-circle-left)",
6566
"category": "Workflow Navigation",
6667
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
6768
},
6869
{
69-
"command": "workflow.goToPreviousNode",
70-
"title": "Go to previous Node",
70+
"command": "workflow.goToNextNode",
71+
"title": "Go to next Node",
72+
"icon": "$(arrow-circle-right)",
7173
"category": "Workflow Navigation",
7274
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
7375
},
7476
{
7577
"command": "workflow.showDocumentation",
7678
"title": "Show documentation...",
77-
"category": "Workflow Diagram",
79+
"category": "Workflow Navigation",
80+
"icon": "$(code-oss)",
7881
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
7982
},
8083
{
@@ -146,12 +149,12 @@
146149
"group": "bookmarks"
147150
},
148151
{
149-
"command": "workflow.goToNextNode",
150-
"group": "navigation",
152+
"command": "workflow.goToPreviousNode",
153+
"group": "",
151154
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
152155
},
153156
{
154-
"command": "workflow.goToPreviousNode",
157+
"command": "workflow.goToNextNode",
155158
"group": "navigation",
156159
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
157160
},

example/workflow/web-extension/package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,24 @@
6161
"enablement": "activeCustomEditorId == 'workflow.glspDiagram'"
6262
},
6363
{
64-
"command": "workflow.goToNextNode",
65-
"title": "Go to next Node",
64+
"command": "workflow.goToPreviousNode",
65+
"title": "Go to previous Node",
66+
"icon": "$(arrow-circle-left)",
6667
"category": "Workflow Navigation",
6768
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
6869
},
6970
{
70-
"command": "workflow.goToPreviousNode",
71-
"title": "Go to previous Node",
71+
"command": "workflow.goToNextNode",
72+
"title": "Go to next Node",
73+
"icon": "$(arrow-circle-right)",
7274
"category": "Workflow Navigation",
7375
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
7476
},
7577
{
7678
"command": "workflow.showDocumentation",
7779
"title": "Show documentation...",
78-
"category": "Workflow Diagram",
80+
"category": "Workflow Navigation",
81+
"icon": "$(code-oss)",
7982
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
8083
},
8184
{
@@ -147,12 +150,12 @@
147150
"group": "bookmarks"
148151
},
149152
{
150-
"command": "workflow.goToNextNode",
153+
"command": "workflow.goToPreviousNode",
151154
"group": "navigation",
152155
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
153156
},
154157
{
155-
"command": "workflow.goToPreviousNode",
158+
"command": "workflow.goToNextNode",
156159
"group": "navigation",
157160
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
158161
},

0 commit comments

Comments
 (0)