tmf: Bug 477012: Time graph fails to send window range notification

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>
Reviewed-on: https://git.eclipse.org/r/55678
diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java
index 5e2dba2..df1960c 100644
--- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java
+++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java
@@ -755,6 +755,7 @@
             return;
         }
         setStartFinishTimeInt(time0, time1);
+        updateExtSynchValues();
     }
 
     private void setStartFinishTimeInt(long time0, long time1) {
@@ -1072,8 +1073,8 @@
                 listener.timeRangeUpdated(event);
             }
 
-            // update external synch timers
-            updateExtSynchTimers();
+            // update external synch values
+            updateExtSynchValues();
         }
     }
 
@@ -1151,14 +1152,14 @@
 
         // 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;