Skip to content
Discussion options

You must be logged in to vote

Each sprotty diagram has its own DI container (and as a consequence its own instance of the action dispatcher) so it's not possible to simply inject the dispatcher into theia application code. If you want to use the action dispatcher in your theia application you would have to retrieve the currently active (diagram) widget and access its action dispatcher instance.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by planger
Comment options

You must be logged in to vote
0 replies
Comment options

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