lmazuel / onagui

OnAGUI - Ontology Alignment GUI - Software to help automatic or manual realisation of ontologic alignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tfrancart opened this issue · comments

This does not happen when we update the validity

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