tmf: Use the signal's trace set in signal handlers
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 8 May 2013 18:29:54 +0000 (14:29 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 10 May 2013 15:00:15 +0000 (11:00 -0400)
commitb9a5bf8f5dbf6dfa809d75591b6026002aabec07
treeb11566c78d462a4bac5125f76cc424c35991ebd8
parent029df6e3c3e5c8d5aad9fda92613c77234d334d1
tmf: Use the signal's trace set in signal handlers

In relevant signal handlers (like traceOpened, traceSelected,...),
to verify if the trace is the target of the signal, use the new
TmfTraceManager.getTraceSet() method instead of relying on the
currently-active trace set.

In practice, the behavior should be the same, but it's a bit clearer
and cleaner this way.

Change-Id: Ied4405e5d3cfc051dcb43cc60837752c1f8889ea
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12649
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/TmfStatisticsViewer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/environment/TmfEnvironmentView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/statesystem/TmfStateSystemExplorer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/statistics/TmfStatisticsView.java
This page took 0.027789 seconds and 5 git commands to generate.