Feature #1502
Mis à jour par Sebastien Jacquot il y a plus de 9 ans
Dissociate the management of the mouse over item selection (temporary selection) of the multiple item "real" user selection of chart entities.
h3. Simple cyclic Cyclic exclusive item selection
Implement cyclic exclusive item selection in charts engine layer.
Implement some select next and select previous item selection methods in the multiple item selector.
h3. Multiple items extended selection
Implement some add next, add previous and add range items selection methods in the multiple item selector.
Implement an ordering mechanism to both selection modes to cycle through the items according to, for example, an SWT sorted table as Concordance, CA cols info, etc. or a TXM object sorted result.
h3. UI behaviors
Specifications, see: https://groupes.renater.fr/wiki/txm-info/public/specs_charts_shared#entrees_utilisateur_souris_communes_a_tous_les_graphiques
h3. Note
Dissociate the management of the mouse over item selection (temporary selection) of the multiple item "real" user selection of chart entities.
h3. Validation tests for unordered selection
* create a chart with more than one series, e.g.: a Progression chart with more than one query.
* click in the chart to give it focus if needed
h4. Simple (cyclic exclusive) selection
on an entity
* exclusive selection: use left and right arrow keys => the selected entity must change. The selection must cycle through all the series
h4. Multiple items extended selection
* extended selection: use SHIFT + left or right arrow keys => the selection must be extended to the next/previous entity. The selection must cycle through all the series
* deselect all the items (deselecting the last item of a series can be done by CTRL/CMD + left clicking on it)
* select an item
* select another item with SHIFT + left click => all the items between the last selected item and the current selected item must be added to the selection
* you can mix all these tests to see if the behaviors is well the same as the one used by your OS to select files/icons
* please provide the type of the tested charts and the OS used for the tests
* the tests for ordered selection will be describe in some others issues (e.g. for the CA: http://forge.cbp.ens-lyon.fr/redmine/issues/1521)