From d81b17ea42a83922cb1b2e36ae1614ddd7dde573 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Fri, 28 Feb 2014 17:49:28 -0500 Subject: [PATCH] tmf: Set focus on the event table after searching Bug: 425055 Change-Id: I92488750b2783fffe76b5004cf97eefc3abc49e6 Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/22705 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann IP-Clean: Bernd Hufmann Tested-by: Bernd Hufmann --- .../linuxtools/tmf/ui/viewers/events/TmfEventsTable.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java index 38e161b591..ebf69a41d0 100644 --- a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java +++ b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java @@ -1210,6 +1210,9 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS if (e.character == SWT.CR) { updateHeader(newEditor.getText()); applyHeader(); + + // Set focus on the table so that the next carriage return goes to the next result + TmfEventsTable.this.getTable().setFocus(); } else if (e.character == SWT.ESC) { tableEditor.getEditor().dispose(); } -- 2.34.1