Notes |
|
|
|
|
|
Questions: what can be a use case in which the order of the comments are relevant?
As the proposal says, in some notations it may be important but in some other notation (like GR) it can be hard to solve.
Is this ordering REALLY required? |
|
|
|
The ordering is a property of the meta-model element. A notation may or may not make use of this property. A graphical notation may display comments as bubbles without being able to modify their order (which can still be modified in e.g. associated tree editor or using property view).
If the ordering is not provided by the meta-model then textual, tabular, or tree-based notations have no means of ensuring that the elements are stored and presented in a particular order so two related comments that are represented on two lines (or even in separate strings on the same line) in a textual notation may appear out of order the next time the document is opened.
If it is required to be solved in a graphical notation, then an alternative representation can be proposed where all comments are grouped in the same bubble with one compartment per comment (which will be a more concise representation), e.g.:
--------------
| Comments |
--------------
| comment1 |
--------------___
| comment2 | \
-------------- \
| ... | \
-------------- -------- #ELEMENT |
|
|
|
OK my picture got damaged for some reason, see attachment. |
|
|
|
Same applies to Annotations |
|
|
|
|