Feature #993

Feature #269: Graphics generation, rendering and interaction, features list

Feature #697: RCP: x.x, ChartsEngine, CA

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

Added by Sebastien Jacquot almost 5 years ago. Updated over 2 years ago.

Status:Closed Start date:09/03/2014
Priority:Normal Due date:
Assignee:Sebastien Jacquot % Done:

100%

Category:Charts Spent time: -
Target version: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

History

#1 Updated by Sebastien Jacquot almost 5 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8
  • Parent task set to #703

#2 Updated by Sebastien Jacquot almost 5 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.7.7

#3 Updated by Sebastien Jacquot almost 5 years ago

  • Status changed from New to Feedback
  • Assignee set to Sebastien Jacquot
  • % Done changed from 0 to 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 Updated by Serge Heiden almost 5 years ago

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 Updated by Sebastien Jacquot almost 5 years ago

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 Updated by Serge Heiden almost 5 years ago

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 Updated by Sebastien Jacquot almost 5 years ago

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 Updated by Matthieu Decorde almost 5 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.6

#9 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.7.6 to TXM 0.7.7

#10 Updated by Sebastien Jacquot over 4 years ago

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

#11 Updated by Sebastien Jacquot over 4 years ago

  • Subject changed from RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table components to RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components
  • Description updated (diff)

#12 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#13 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#14 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#15 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

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 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)
  • Status changed from Feedback to In Progress
  • % Done changed from 80 to 50

#22 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#23 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)
  • Status changed from In Progress to Feedback
  • % Done changed from 50 to 80

#24 Updated by Matthieu Decorde over 4 years ago

  • Description updated (diff)
  • % Done changed from 80 to 90

#25 Updated by Sebastien Jacquot about 4 years ago

  • Status changed from Feedback to In Progress
  • Target version changed from TXM 0.7.7 to TXM 0.7.8
  • % Done changed from 90 to 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 Updated by Matthieu Decorde almost 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#27 Updated by Sebastien Jacquot over 3 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.7.8

#28 Updated by Sebastien Jacquot over 3 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 70 to 80

#29 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#30 Updated by Sebastien Jacquot over 3 years ago

  • Subject changed from RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components to RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components and vice versa

#31 Updated by Sebastien Jacquot over 3 years ago

  • Subject changed from RCP: 0.7.6, CA charts, highlight some factorial map points from the SWT table tab components and vice versa to CA chart, highlight some factorial map points from the SWT table tab components and vice versa

#32 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#33 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#34 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#35 Updated by Sebastien Jacquot over 2 years ago

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

#36 Updated by Sebastien Jacquot over 2 years ago

  • % Done changed from 80 to 100

#37 Updated by Sebastien Jacquot over 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF