Feature #2121
Mis à jour par Matthieu Decorde il y a presque 6 ans
Add a way to customize sort Corpora view elements view, tree result nodes sorting.
**Using TXMResult types**
**Using TXMResult creation&update**
**Using TXMResult weights**
TXMResult stores a node weight dedicated to the result and children sorting.
//TODO
1) defines the behavior when creating a new result or object
2) defines the order of objects and results by setting their node weights
3) later, add a preference to sort the results
=> actual system permit the sort on:
- node weights
- alpha (simple name, name, class name)
- order of creation (it is the basic behavior since each child is added in a list after the last created)
**Using TXMResult types**
**Using TXMResult creation&update**
**Using TXMResult weights**
TXMResult stores a node weight dedicated to the result and children sorting.
//TODO
1) defines the behavior when creating a new result or object
2) defines the order of objects and results by setting their node weights
3) later, add a preference to sort the results
=> actual system permit the sort on:
- node weights
- alpha (simple name, name, class name)
- order of creation (it is the basic behavior since each child is added in a list after the last created)