lmazuel / onagui

OnAGUI - Ontology Alignment GUI - Software to help automatic or manual realisation of ontologic alignment
MIT License
11 stars 4 forks source link

When updating a correspondance type, the row gets sorted again and moves at the top #55

Closed tfrancart closed 6 years ago

tfrancart commented 6 years ago

This does not happen when we update the validity

tfrancart commented 6 years ago

This is related to this : https://docs.oracle.com/javase/7/docs/api/javax/swing/DefaultRowSorter.html#setMaxSortKeys(int)

By default, the last 3 columns clicked are used to sort the table. By lowering this to the last 2 columns, we limit the risk of having the type column used for sorting. When editing mapping types, this means we should first sort the tables on 2 columns other than the type to avoid rows changing position in the table