Default value/text in editor with abstract concept

I have a language where some concept A has a child of abstract concept B with cardinality 1 and then multiple concrete subconcepts deriving from B exist. The problem I am facing is that the editor always prefills the child entry with some anonymous instance of the abstract concept and therefore I do not know how to provide a custom empty text (for instance to explain the units in which some measurements are done). Is there any way to customize the representation of the default (broken empty) value here?

2
3 comments
Avatar
Permanently deleted user

Dear Languitar,

Since the cardinality is "1" MPS creates the instance of the concept B (despite it is abstract).

You could specify the editor for B with the label cell with the text you need.

 

 

 

1
Avatar
Permanently deleted user

Dear Semen,

thanks for the hint. Unfortunately, I need a different default text at every position my concept B is used. I don't see how I can achieve that this way?

1
Avatar
Permanently deleted user

You could use "read only model access" cell and specify the text depending on the node

1

Please sign in to leave a comment.