-
Hello , we are trying to migrate our tools from Eclipse GLSP 1.1.0.RC09 into 2.2.1 We have a lot of code getInjector()
Best regards Erwan |
Beta Was this translation helpful? Give feedback.
Answered by
tortmayr
Nov 20, 2024
Replies: 1 comment
-
Hi @microwan, this has changed with the introduction of the E4 support To retrieve the model state via injector from the editor you need to do it this way now: editor.getDiagram().getInjector().getInstance(EMFModelState.class); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
microwan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @microwan,
this has changed with the introduction of the E4 support
A lot functionality has been moved from the editor into the
GLSPDiagramComposite
composite.To retrieve the model state via injector from the editor you need to do it this way now: