Hi Alex,
thank you.
I looked into it and decided not to do this, because it would have meant
a major change in the model. The issue concerns a lot of model elements.
Instead of OCL I used the java-Option and did create the Label Strings
myself. There rose one question:
Is it meant to be that I cannot introduce java-Code into the mapping
model as I can do with OCL? I had to write directly into the generated
methods of class ElementInitializers after generation of the diagram
editor.
This is OK to me but seamed to be odd.
Stephan
Alex Shatalin schrieb:
Hello Stephan,
You should introduce back reference "topicContainer" into the Topic
model element. As a result OCL constraint will be like:
'Prefix' + topicContainer.topics->size()
-----------------
Alex Shatalin