Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-02-10 21:11:26 +0000
committerfbecker2010-02-10 21:11:26 +0000
commitd97821d3012a09f810dacf6583565cd2b2cad75f (patch)
tree028515d222f5fc2645874fe11c77b5d91c436bf2 /org.eclipse.mylyn.bugzilla.ui/src
parent7750edc1eb92bd5adc0d7dded71fc4bf20767d66 (diff)
downloadorg.eclipse.mylyn.tasks-d97821d3012a09f810dacf6583565cd2b2cad75f.tar.gz
org.eclipse.mylyn.tasks-d97821d3012a09f810dacf6583565cd2b2cad75f.tar.xz
org.eclipse.mylyn.tasks-d97821d3012a09f810dacf6583565cd2b2cad75f.zip
ASSIGNED - bug 290197: [ui] refactor bugzilla search query page layout
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290197
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui/src')
-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