How to get diagram editor closed notification/Action at server side #893
Unanswered
sathya-1994
asked this question in
General
Replies: 1 comment 4 replies
-
Hi @sathya-1994, You could implement a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using https://github.com/eclipse-glsp/glsp-vscode-integration
I want notification/Action at java server side when we close the diagram editor (webview panel).
I tried to send DiagramEditorClosedAction using webviewPanel.onDidDispose() method but DiagramEditorClosedAction was not sent to server side.
Code:
webviewPanel.onDidDispose(e => {
const message = {
clientId: clientId,
action: new DiagramEditorClosedAction (),
__localDispatch: true
}
webviewPanel.webview.postMessage(message);
}
Beta Was this translation helpful? Give feedback.
All reactions