Table
← Older revision
Revision as of 08:37, 26 November 2015
(3 intermediate revisions by the same user not shown)
Line 476:
Line 476:
Set these properties to this representation:
Set these properties to this representation:
−
* '''
Name
''': <code>Relationships diagram</code>
+
* '''
Id
''': <code>Relationships diagram</code>
* '''Domain Class''': <code>basicfamily.Person</code>
* '''Domain Class''': <code>basicfamily.Person</code>
Line 488:
Line 488:
−
Add a ''Default Layer'' to this diagram and save
the ''odesign'' file. Now, you can right click on a person in the ''Model Explorer'' and create a new representation of type ''Relationships diagram''.
+
Save
the ''odesign'' file. Now, you can right click on a person in the ''Model Explorer'' and create a new representation of type ''Relationships diagram''.
[[File:sirius_tuto2_14-05.png]]
[[File:sirius_tuto2_14-05.png]]
Line 516:
Line 516:
For this first container, set these properties:
For this first container, set these properties:
−
* '''
Name
''': <code>
Person Container
</code>
+
* '''
Id
''': <code>
PersonContainer
</code>
* '''Domain Class''': <code>basicfamily.Person</code>
* '''Domain Class''': <code>basicfamily.Person</code>
* '''Semantic Candidate Expression''': <code>var:self</code> (the current person)
* '''Semantic Candidate Expression''': <code>var:self</code> (the current person)
Line 715:
Line 715:
* '''Id''': <code>PersonLine</code>
* '''Id''': <code>PersonLine</code>
* '''Domain Class''': <code>basicfamily.Person</code>
* '''Domain Class''': <code>basicfamily.Person</code>
+
* '''Semantic Candidates Expression''': <code>feature:members</code>
* '''Header Label Expression''' (''Label'' tab): <code>feature:name</code>
* '''Header Label Expression''' (''Label'' tab): <code>feature:name</code>