Feature #1521

Updated by Sebastien Jacquot over 4 years ago

At this moment, selecting some points with arrow keys in the factorial map chart cycles through the points regardless of the order of the columns and lines information SWT tables.

h3. Solution

To do the cyclic and extended selection of chart items according to the rows and cols SWT table order we need to redefine the multiple item selector cyclic order when user sorts the table columns.
See: org.txm.tbx.chartsengine.jfreechart.renderers.MultipleItemsSelector.setCyclicItemsOrder(TreeMap<Integer, ArrayList<Integer>>)

h3. Validation tests

* create a CA
* click in the chart to give it the focus
* change the selection using keyboard arrow keys and SHIFT + arrow keys
=> check that the corresponding table lines are well selected/deselected in the cols and rows info editors
* sort the infos tables on some column and select some points with the keyboard in the chart
=> the selection must match the tables lines order