summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorBernd Hufmann2012-12-05 09:37:16 (EST)
committer Bernd Hufmann2012-12-05 11:41:21 (EST)
commitad85e77c537a5335575f71295bcb8e5b372d7209 (patch)
tree35d654df12120780f2d9a3e4c04e6530a13efc44
parent818c4e8f1e8522ec7eec0022132fafb255b20749 (diff)
downloadorg.eclipse.linuxtools-ad85e77c537a5335575f71295bcb8e5b372d7209.zip
org.eclipse.linuxtools-ad85e77c537a5335575f71295bcb8e5b372d7209.tar.gz
org.eclipse.linuxtools-ad85e77c537a5335575f71295bcb8e5b372d7209.tar.bz2
Add notification for reset of time scale in TimeGrapViewer
A recent change removed the notification of reset time scale in the TimeGraphViewer. The ResoucesView and ControlFlowView was affected by that. This update adds the notification when executing the reset scale action. Change-Id: Ic822157d4617ed7ce81a67e8640ac8b62eedc694 Reviewed-on: https://git.eclipse.org/r/9036 Tested-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java
index 5720623..0e1dd7e 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java
@@ -1184,6 +1184,7 @@ public class TimeGraphViewer implements ITimeDataProvider, SelectionListener {
@Override
public void run() {
resetStartFinishTime();
+ notifyStartFinishTime();
}
};
resetScale.setText(Messages.TmfTimeGraphViewer_ResetScaleActionNameText);