Feature #993

Feature #703: RCP: x.x, Charts SWT components, CA, advanced implementation

CA chart, highlight some factorial map points from the SWT table tab components and vice versa

Ajouté par Sebastien Jacquot il y a environ 11 ans. Mis à jour il y a plus de 8 ans.

Statut:Closed Début:03/09/2014
Priorité:Normal Echéance:
Assigné à:Sebastien Jacquot % réalisé:

100%

Catégorie:Charts Temps passé: -
Version cible:TXM 0.7.8

Description

  • highlight some factorial map row and column points from the SWT table tab components of rows infos and columns infos
  • highlight some rows in the SWT table tab components of rows infos and columns infos from the factorial map chart
  • [the communication must be bi-directional]
  • on selecting a point in the factorial map, scroll the info rows or info columns SWT table to this last selected point
  • the system must manage the selection in chart and table with keyboard AND mouse

Validation test

  • create some CA with JFC charts engine
  • highlight/unhighlight some rows and columns points from the "Rows infos" and "Cols infos" tabs tables (with mouse AND keyboard)
    • => the chart selection and the tab table rows selection must be linked and keep a coherent state
  • highlight/unhighlight some rows and columns points from the Factorial Map chart (with mouse AND keyboard)
    • => the chart selection and the tab table rows selection must be linked and keep a coherent state
  • the selection and multiple selection system must be the same as the OS file selection system (Windows/Linux => CTRL + left click; Mac Os => CMD + left click; arrow keys; SHIFT + arrow keys)
  • test the CTRL + F REGEX search function on the tables => the points matching the REGEX must be highlighted in the table AND the factorial map chart
  • on selecting a point in the factorial map, check that the info rows or info columns SWT table is well scrolled to the row of this last selected point, despite of the table sort column order
  • please provides the OS and Java version in test reports

MD: OK all tests for Ubuntu 14.04, JVM 1.7.0_75 (Sry Matt ;p )
BP: OK, Ubuntu
SJ: OK, Win 7 x64

Historique

#1 Mis à jour par Sebastien Jacquot il y a environ 11 ans

  • Version cible changé de TXM 0.7.7 à TXM 0.7.8
  • Tâche parente mis à #703

#2 Mis à jour par Sebastien Jacquot il y a environ 11 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.7.7

#3 Mis à jour par Sebastien Jacquot il y a environ 11 ans

  • Statut changé de New à Feedback
  • Assigné à mis à Sebastien Jacquot
  • % réalisé changé de 0 à 80

Done. The highlighting is enabled/disabled by selecting/unselecting some lines in the Cols and Rows Info editors. The selection is multilines, therefore "CTRL + Click" select/unselect rows. It should works with the "CTRL + F" REGEX dialog box too. After having highlighted some points in factorial map, giving back the focus to the chart and moving the mouse cursor on a point restores the original mouse over behavior, therefore the previous highlighting is lost. But the lines stay selected in the cols/rows info tables, need to discuss about this behavior.

#4 Mis à jour par Serge Heiden il y a environ 11 ans

An evolution could be to select points in the factorial map instead of just highlighting them: that is to build a graphical points selection mecanism.

This would permit to have a dual and symetrical selection (and highlight) mecanism between table or graphical map views. In a table, arrow keys can help to manage selection with respect to rows sorting. In graphical map view, a rectangle drawn by the mouse or a circle, lasso, etc. can help to manage selection with respect to factorial distance.

#5 Mis à jour par Sebastien Jacquot il y a environ 11 ans

Ok, actually internally the highlighting mouse over and the highlighting feature from info tables selection already use a selection system and keep trace of selected points but they share the same "items selector" associated with a chart. I will separate the two mechanisms and differentiate the two highlighting rendering (it will also prepare to manage a selection of charts items directly in the rendering via CTRL + click, rectangle area selection, etc.). It will result in keeping the selections from tables plus get a different mouse over highlighting. Another point, after having clicked on a row, the only solution to remove highlighting is to "CTRL + click" on the selected row to unselect it from the table, don't know if it's very user-friendly.

#6 Mis à jour par Serge Heiden il y a environ 11 ans

Re: “... Another point, after having clicked on a row, the only solution to remove highlighting is to "CTRL + click" on the selected row to unselect it from the table, don't know if it's very user-friendly.”

Don't know if SWT selection manipulation policy is platform dependant/specialized or not.

Row selection should be toggled: a click to select, a re-click to unselect.

#7 Mis à jour par Sebastien Jacquot il y a environ 11 ans

OK, I'm working on this. But must this behavior be shared by all the SWT tables of all commands ?
(Yes the SWT policy is platform dependent but none of three OS uses this behavior, they use the same system as native file selection, i.e. CTRL or Command key)

#8 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Version cible changé de TXM 0.7.7 à TXM 0.7.6

#9 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Version cible changé de TXM 0.7.6 à TXM 0.7.7

#10 Mis à jour par Sebastien Jacquot il y a presque 11 ans

After some new discussions, we will keep the native CTRL/COMMAND + CLICK system and port it to the factorial map chart area.

#11 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Sujet changé de RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table components à RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components
  • Description mis à jour (diff)

#12 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Description mis à jour (diff)

#13 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Description mis à jour (diff)

#14 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Description mis à jour (diff)

#15 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

1) The points selection from the chart component does not work on Mac OS X 10.9.4 + Java 1.6.
2) Every click in chart composite leads to a glitter due of chart editor activation on mouse pressed event.

#16 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

2) Every click in chart composite leads to a glitter due of chart editor activation on mouse pressed event.

Fixed by removing the editor activation dedicated to force focus on some configurations which became useless since we now force Java 1.6 JRE on all platforms.

#17 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

1) The points selection from the chart component does not work on Mac OS X 10.9.4 + Java 1.6.

For unknown reason, a click in the chart component on Mac OS X fires a chart mouse moved event. It does not fire a chart mouse clicked event.

#18 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Sebastien Jacquot a écrit :

[...]

For unknown reason, a click in the chart component on Mac OS X fires a chart mouse moved event. It does not fire a chart mouse clicked event.

Fixed by manually firing a ChartMouseEvent to ChartMouseListener of CustomChartPanel in CustomChartPanel.onMousePressed() only for Mac OS X target.

#19 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Sebastien Jacquot a écrit :

Sebastien Jacquot a écrit :

[...]

For unknown reason, a click in the chart component on Mac OS X fires a chart mouse moved event. It does not fire a chart mouse clicked event.

Fixed by manually firing a ChartMouseEvent to ChartMouseListener of CustomChartPanel in CustomChartPanel.onMousePressed() only for Mac OS X target.

The fix will be commit commented. The bug has only been noticed on VM and may be linked to a mouse compatibility problem.

#20 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Successfully tested under Win32 XP and Win64 Seven.
As the focus bugs related are not yet fixed in 0.7.7 beta for all OS, one need to sometimes click in the chart editor to give it the focus for the validation test of this issue.

#21 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • Description mis à jour (diff)
  • Statut changé de Feedback à In Progress
  • % réalisé changé de 80 à 50

#22 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • Description mis à jour (diff)

#23 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • Description mis à jour (diff)
  • Statut changé de In Progress à Feedback
  • % réalisé changé de 50 à 80

#24 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)
  • % réalisé changé de 80 à 90

#25 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

  • Statut changé de Feedback à In Progress
  • Version cible changé de TXM 0.7.7 à TXM 0.7.8
  • % réalisé changé de 90 à 70

After some discussions we need to clear the points highlighting selection when user click on "nothing/not a point" in the factorial map chart.
I move this ticket to 0.7.8 since I need to know the definitive version of embedded JRE then fix the editor focus bugs on the 3 platforms before implementing this.

[EDIT] this clear selection issue has now its own ticket: http://forge.cbp.ens-lyon.fr/redmine/issues/1674

#26 Mis à jour par Matthieu Decorde il y a environ 10 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#27 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8

#28 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Statut changé de In Progress à Feedback
  • % réalisé changé de 70 à 80

#29 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Description mis à jour (diff)

#30 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Sujet changé de RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components à RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components and vice versa

#31 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Sujet changé de RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components and vice versa à CA chart, highlight some factorial map points from the SWT table tab components and vice versa

#32 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Description mis à jour (diff)

#33 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Description mis à jour (diff)

#34 Mis à jour par Sebastien Jacquot il y a plus de 9 ans

  • Description mis à jour (diff)

#35 Mis à jour par Sebastien Jacquot il y a plus de 8 ans

Done. See: http://forge.cbp.ens-lyon.fr/redmine/issues/1674 about clearing selection.

#36 Mis à jour par Sebastien Jacquot il y a plus de 8 ans

  • % réalisé changé de 80 à 100

#37 Mis à jour par Sebastien Jacquot il y a plus de 8 ans

  • Statut changé de Feedback à Closed

Formats disponibles : Atom PDF