I have a feature label mapping with two features "MaxCardinality" and
"MinCardinality". I want to display my cardinalities:
- On the diagram itself it should show "<MinCardinality..MaxCardinality>",
so I set the view pattern to "<{0}..{1}>"
- An exception is, when the MaxCardinality is -1, I want to display on the
diagram the character 'n'. For example: <0..n>
How can I do to express this rule? with EditorPattern, EditPattern or in
the code?