Skip to content

General questions about the EMFNotationSourceModelStorage #1334

Answered by ndoschek
MichaZoomZoom asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MichaZoomZoom,
Thank you for your interest in GLSP 🎉 🙌

Part 1:
Overall, the notation model requires some identifier (i.e., elementId) to be able to be linked to the semantic element.
You can find the notation Ecore model here: GLSP Notation Ecore Model.

If your elements are uniquely identified by their names, you can use these names as elementIds. This approach should work as long as you ensure the uniqueness of the element names.

For further reference, you might find this example useful: GLSP Examples - Java EMF Eclipse.

Additionally, you could store notation-related properties directly in the semantic model.
In many of our examples, we've moved away from a strict separation between …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaZoomZoom
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