Bug #1519

Add contextual menu to chart composites

Added by Sebastien Jacquot almost 4 years ago. Updated 6 months ago.

Status:Feedback Start date:09/23/2015
Priority:Urgent Due date:
Assignee:- % Done:

80%

Category:Charts Spent time: -
Target version:TXM 0.8.1

Description

Add contextual menu to JFC chart composites and SVG Batik composites.
Implements a global mechanism to link Swing components to RCP pop up menu system.
Manage the update of the context menu entries according to the area of the right mouse click event.

UI behaviors

https://groupes.renater.fr/wiki/txm-info/public/specs_charts_shared#menu_contextuel_commun_a_tous_les_graphiques

Validation tests

  • create some charts
  • right click on a chart item => context menu must display something linked to the chart item as its label or value
  • right click on an empty area => context menu must display the "Export view" command
  • do a multiple selection
  • right click on a chart item OF the current selection => context menu must display something linked to all the items of the current multiple selection as their label or value
  • right click on a chart item which is NOT in the current selection => the multiple selection must be cleared and the pop up menu must concern only the last selected item
  • please provide the OS used for the tests

Current state is that all charts generate a default contextual menu on items. After this feature/issue will be validated, we need to temporary disable it in the charts where we haven't yet define the "Send to xxxx" hyperlink commands.

(The R/SVG implementation only manages the "Export view", the chart entities are not intended to be detected at this moment.)

History

#1 Updated by Sebastien Jacquot almost 4 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • % Done changed from 0 to 80

#2 Updated by Sebastien Jacquot almost 4 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 3 years ago

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

#4 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#6 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#7 Updated by Sebastien Jacquot over 3 years ago

Menus don't appears on Linux.
Need to check on Mac too.
Moved to 0.7.9 target, the functionality is now commented in source code.
See: org.txm.chartsengine.rcp.SWTChartsComponentsProvider.initializeAWTDelegationListeners(...).new MouseListener() {...}.mouseReleased(MouseEvent)
to enable it.

#8 Updated by Sebastien Jacquot over 3 years ago

  • Status changed from Feedback to In Progress
  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
  • % Done changed from 80 to 50

#9 Updated by Sebastien Jacquot about 1 year ago

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

#10 Updated by Sebastien Jacquot 9 months ago

  • Tracker changed from Feature to Bug
  • Priority changed from Normal to Urgent
  • % Done changed from 50 to 0

Contextual menus are not working at all on Ubuntu, empty area or selected chart entity.

#11 Updated by Sebastien Jacquot 9 months ago

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

Temporary fix for Linux/Gnome implemented.

#12 Updated by Sebastien Jacquot 6 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF