tmf: Increase visibility of startZoomThread in AbstractTimeGraphView
authorPatrick Tasse <patrick.tasse@gmail.com>
Mon, 16 Nov 2015 20:14:01 +0000 (15:14 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 20 Nov 2015 19:23:13 +0000 (14:23 -0500)
This will allow subclasses to trigger the zoom thread when implementing
their own actions, for example.

Change-Id: I798327e044e786064ae2170ded415c2a2ea2e756
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/60663
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/timegraph/AbstractTimeGraphView.java

index 79b67cfa9762fd9843ee32e88f47cba6f0d42fc1..6e8b0df764b3781acc07e8b36441e38c36b69a17 100644 (file)
@@ -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();
This page took 0.028144 seconds and 5 git commands to generate.