Skip to content

Conversation

@tortmayr
Copy link
Contributor

@tortmayr tortmayr commented Oct 7, 2025

What it does

  • Adjust context menu item provider to new ServerMenuItem API
  • Extend workflow context menu provider
    • Add a hidden item for testing
    • Add a Readonly mode toggle entry

Part of eclipse-glsp/glsp#1586

GLSP-1587:

  • Add missing action handler for SetEditModeAction
  • Align base CommandPaletteActionProvider with java-server implementation (do not return empty for readonly by default)

Fixes eclipse-glsp/glsp#1587

Requires eclipse-glsp/glsp-client#450

How to test

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

tortmayr added a commit to eclipse-glsp/glsp-theia-integration that referenced this pull request Oct 7, 2025
Adjust Theia GLSP context menu service for new MenuItem API.
Ensure that isEnabled,isVisible and isToggled are properly forwarded to
the Theia Menu item

Part of eclipse-glsp/glsp#1586

Requires: eclipse-glsp/glsp-client#450
Requires: eclipse-glsp/glsp-server-node#116
tortmayr added a commit to eclipse-glsp/glsp-server that referenced this pull request Oct 7, 2025
- Adjust context menu item provider to new `ServerMenuItem` API
- Extend workflow context menu provider
   - Add a hidden item for testing
   - Add a `Readonly` mode toggle entry

Part of eclipse-glsp/glsp#1586

GLSP-1587:
- Add missing action handler for `SetEditModeAction`
- Align base `CommandPaletteActionProvider` with java-server
implementation (do not return empty for readonly by default)

Fixes eclipse-glsp/glsp#1587

Requires eclipse-glsp/glsp-client#450
Copy link
Contributor

@martin-fleck-at martin-fleck-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tortmayr tortmayr merged commit 9d94ba7 into main Oct 9, 2025
5 checks passed
@tortmayr tortmayr deleted the glsp-1586 branch October 9, 2025 12:07
tortmayr added a commit to eclipse-glsp/glsp-theia-integration that referenced this pull request Oct 10, 2025
* GLSP-1586: Adjust to new MenuItem API

Adjust Theia GLSP context menu service for new MenuItem API.
Ensure that isEnabled,isVisible and isToggled are properly forwarded to
the Theia Menu item

Part of eclipse-glsp/glsp#1586

Requires: eclipse-glsp/glsp-client#450
Requires: eclipse-glsp/glsp-server-node#116

* Upgrade yarn lock
tortmayr added a commit to eclipse-glsp/glsp-server that referenced this pull request Oct 20, 2025
* GLSP-1586: Adjust to new MenuItem API

Counterpart to eclipse-glsp/glsp-server-node#116
Part of eclipse-glsp/glsp#1586

* Address review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Node-server] Missing handler for SetEditMode action

2 participants