Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2014-07-17 11:37:02 +0000
committerLars Vogel2014-07-18 08:54:06 +0000
commite1518f4cb192c7a6a50449cbab9f103e4a7b8312 (patch)
tree349f0532182e3681ff0047c1f1ef5203f33f1a59
parent94f1a554239e21776e5c3014fb965f61c1d68ebc (diff)
downloadorg.eclipse.e4.tools-e1518f4cb192c7a6a50449cbab9f103e4a7b8312.tar.gz
org.eclipse.e4.tools-e1518f4cb192c7a6a50449cbab9f103e4a7b8312.tar.xz
org.eclipse.e4.tools-e1518f4cb192c7a6a50449cbab9f103e4a7b8312.zip
Bug 439771 - Find Contribution Class Dialog did not set focus to searchI20140721-2200I20140720-2200I20140719-2200I20140718-2200
box Change-Id: Idb9632c48191ec65424f02b5eb602e9c0ab19891 Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java
index 394cae81..2801f17e 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java
@@ -223,6 +223,7 @@ public abstract class FilteredContributionDialog extends SaveDialogBoundsSetting
protected Control createContents(Composite parent) {
Control ret = super.createContents(parent);
textBox.notifyListeners(SWT.Modify, new Event());
+ textBox.setFocus();
return ret;
}
@@ -394,7 +395,9 @@ public abstract class FilteredContributionDialog extends SaveDialogBoundsSetting
updateStatusMessage();
switch (status) {
case READY:
- // This will deadlock if currentSearchThread is not null
+ // This will deadlock if
+ // currentSearchThread is not
+ // null
currentSearchThread = null;
if (currentResultHandler != null) {
currentResultHandler.cancled = true;

Back to the top