Skip to content
Discussion options

You must be logged in to vote

The SourceModelChangedAction is an indication, typically sent from the server to the client, that the original source model has changed. From a protocol point of view, clients may react as they see fit though.

The default implementation in the glsp-client is the SourceModelChangedActionHandler. As can be seen in the implementation, the default implementation checks if there is a ExternalSourceModelChangedHandler registered. If yes, it'll invoke it, if not, it'll just show a notification.

In Theia, there is a ExternalSourceModelChangedHandler registered, which will show a dialog and ask the user whether they want to re-open the editor or not. The implementation is in the TheiaSourceModelCh…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants