From 0c283816ab29f23420ec62bb21893a63f1a0c82a Mon Sep 17 00:00:00 2001 From: Patrick Tasse Date: Mon, 16 Nov 2015 15:14:01 -0500 Subject: [PATCH] tmf: Increase visibility of startZoomThread in AbstractTimeGraphView This will allow subclasses to trigger the zoom thread when implementing their own actions, for example. Change-Id: I798327e044e786064ae2170ded415c2a2ea2e756 Signed-off-by: Patrick Tasse Reviewed-on: https://git.eclipse.org/r/60663 Reviewed-by: Matthew Khouzam Reviewed-by: Jean-Christian Kouame Reviewed-by: Hudson CI --- .../tmf/ui/views/timegraph/AbstractTimeGraphView.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java index 79b67cfa97..6e8b0df764 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java @@ -1650,7 +1650,16 @@ public abstract class AbstractTimeGraphView extends TmfView implements ITmfTimeA }); } - private void startZoomThread(long startTime, long endTime) { + /** + * Start or restart the zoom thread. + * + * @param startTime + * the zoom start time + * @param endTime + * the zoom end time + * @since 2.0 + */ + protected void startZoomThread(long startTime, long endTime) { boolean restart = false; if (fZoomThread != null) { fZoomThread.cancel(); -- 2.34.1