tmf: Support for context-sensitive menu in Time Graph combos
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Thu, 7 Apr 2016 12:10:47 +0000 (08:10 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Tue, 12 Apr 2016 00:14:26 +0000 (20:14 -0400)
commit90bb3a0c94c2ddeb46f7f6c5c3c26156d4fba9a2
treea03e416e01ee7d0828dca27d0b06f0c1b9191892
parentdf91e56bcf39a47b024279e808c643a7a1880b6a
tmf: Support for context-sensitive menu in Time Graph combos

Up to now, there were specific context-sensitive menus in Call Stack
and Control Flow view using the right mouse button on the tree.

This commit adds a generic support for context-sensitive menus to the
AbstractTimeGaph views when using Time Graph combos. It allows
extending classes to add both programmatically and declaratively
(using the plug-in.xml) menu entries to the context-sensitive menu.

The implementation of the Call Stack view and Control Flow view have
been adjusted to use this new API.

Change-Id: Ic0f0971ac32767446d0f555315f6ecbf0aeba09a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/70136
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/analysis/os/linux/ui/views/controlflow/ControlFlowView.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackView.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java
This page took 0.025176 seconds and 5 git commands to generate.