Skip to content

Migration from Eclipse GLSP from 1.1.0.RC10 into 2.2.1 (EMFModelState with getInjector) #1424

Answered by tortmayr
microwan asked this question in General
Discussion options

You must be logged in to vote

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:

editor.getDiagram().getInjector().getInstance(EMFModelState.class);

Replies: 1 comment

Comment options

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