how to handle the glspUndo operation #983
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi @rileydanejohnston ,
The client does not keep track of the executed operations, this is the responsibility of the server. So the This feature is currently only available for the Java-based GLSP server. The 1.0.0 Release of the node server does not support this yet. However, commandstack support for the node server is currently under development and already partially available when using the nightly or Release Candidate versions. It will be fully implemented with the upcoming 2.0.0 Release scheduled for end of June. |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr , is this Undo Feature already part of 1.1.0-RC10 ? Or is some example code available somewhere? |
Beta Was this translation helpful? Give feedback.
-
is the handling of undo action now available for the node-based GLSP server ? |
Beta Was this translation helpful? Give feedback.
-
Hi @Adem-Kri, |
Beta Was this translation helpful? Give feedback.
Hi @rileydanejohnston ,
The client does not keep track of the executed operations, this is the responsibility of the server. So the
UndoAction
is basically just a trigger notification that the client sends to the server indicating that the last operation should be undone. The server itself manages aCommandstack
and can then simply undo the last operation of the stack and send an updated model back to the client.This feature is currently only available for the Java…