Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
index 17d696423..b0caedae3 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
@@ -409,6 +409,19 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
basicComposite.setLayoutData(g);
Dialog.applyDialogFont(basicComposite);
+ if (!inSearchContainer()) {
+ final Label queryTitleLabel = new Label(basicComposite, SWT.NONE);
+ queryTitleLabel.setText(Messages.BugzillaSearchPage_Query_Title);
+
+ queryTitle = new Text(basicComposite, SWT.BORDER);
+ queryTitle.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
+ if (originalQuery != null) {
+ queryTitle.setText(originalQuery.getSummary());
+ }
+ queryTitle.addModifyListener(new ModifyListenerImplementation());
+ queryTitle.setFocus();
+ }
+
advancedExpandComposite = toolkit.createExpandableComposite(control, ExpandableComposite.COMPACT
| ExpandableComposite.TWISTIE | ExpandableComposite.TITLE_BAR);
advancedExpandComposite.setFont(control.getFont());

Back to the top