|
Re: Creating a table editor in Sirius [message #1842163 is a reply to message #1842123] |
Thu, 10 June 2021 16:10 |
|
Hi Thomas,
Did you try to compute the label based on those two paragaphs:
Quote:
A Feature Column mapping is defined by its Feature Name, which should normally be the name of a valid feature (attribute or reference) of the element which appear in the tables' lines. If a line represents a semantic element S1 but you want on some column to show a property of an element reachable from S1 instead of S1 itself, you can use the Feature Parent Expression ( Advanced category), which is evaluated in the context of S1 and should return an element S2. S2 will be considered the target element of the cell at this intersection instead of S1.
...
The Label Expression is used to compute the text to show in each cell. It is evaluated for each cell in the context of its target semantic element. If you compute text for elements whose EClass have no common EStructuralFeatures (inherited or with same name), you can use * as Feature Name to skip the feature name validation during the cell creation.
You should be able to use aql expressions to compute the label or retrieve the feature parent expression based on your metamodel and the relation between your Element and Process concepts.
Regards
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03245 seconds