diff options
author | Lars Vogel | 2014-07-17 11:37:02 +0000 |
---|---|---|
committer | Lars Vogel | 2014-07-18 08:54:06 +0000 |
commit | e1518f4cb192c7a6a50449cbab9f103e4a7b8312 (patch) | |
tree | 349f0532182e3681ff0047c1f1ef5203f33f1a59 | |
parent | 94f1a554239e21776e5c3014fb965f61c1d68ebc (diff) | |
download | org.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.java | 5 |
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; |