tmf: Bug 477012: Time graph fails to send window range notification
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 9 Sep 2015 22:09:52 +0000 (18:09 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 10 Sep 2015 16:29:30 +0000 (12:29 -0400)
Change-Id: I29b57b77db71b78deb0161e57c24135f3af60191
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/55596
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java

index 8ea4762d437f99ca5bfe1b690f5dbb7b76566b6b..7bb90fe824f5e9326c62c0fce0dc33ead635c6d3 100644 (file)
@@ -755,6 +755,7 @@ public class TimeGraphViewer implements ITimeDataProvider, SelectionListener {
             return;
         }
         setStartFinishTimeInt(time0, time1);
+        updateExtSynchValues();
     }
 
     private void setStartFinishTimeInt(long time0, long time1) {
@@ -1072,8 +1073,8 @@ public class TimeGraphViewer implements ITimeDataProvider, SelectionListener {
                 listener.timeRangeUpdated(event);
             }
 
-            // update external synch timers
-            updateExtSynchTimers();
+            // update external synch values
+            updateExtSynchValues();
         }
     }
 
@@ -1151,14 +1152,14 @@ public class TimeGraphViewer implements ITimeDataProvider, SelectionListener {
 
         // update notification time values since we are now in synch with the
         // external application
-        updateExtSynchTimers();
+        updateExtSynchValues();
     }
 
     /**
-     * update the cache timers used to identify the need to send a time window
+     * update the cache values used to identify the need to send a time window
      * update to external registered listeners
      */
-    private void updateExtSynchTimers() {
+    private void updateExtSynchValues() {
         // last time notification cache
         fTime0ExtSynch = fTime0;
         fTime1ExtSynch = fTime1;
This page took 0.026817 seconds and 5 git commands to generate.