diff options
author | Michael Keppler | 2019-08-15 12:49:59 +0000 |
---|---|---|
committer | Mickael Istria | 2019-08-18 17:20:21 +0000 |
commit | e4cd3301424512368c53114fd477bbb3503adc73 (patch) | |
tree | 0b4e65b0a5c1afdf820891705a436b47065de30d | |
parent | 1f65dd6cb8bc86a23dd1c1db5278a627b8f5dea7 (diff) | |
download | eclipse.platform.text-e4cd3301424512368c53114fd477bbb3503adc73.tar.gz eclipse.platform.text-e4cd3301424512368c53114fd477bbb3503adc73.tar.xz eclipse.platform.text-e4cd3301424512368c53114fd477bbb3503adc73.zip |
Bug 550058 - [Quicksearch] Name mismatch in UI and N&N
Change the dialog title to "Quick Search", such that the same label is
used everywhere.
Use an ellipsis in the menu item to indicate a following input dialog.
Also remove unwanted text parts from the command, command category and
actionset labels, and fix capitalization and grammar.
Change-Id: I9886c9f39c9e1ffdf79478fdbdefb4696a5c8214
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
-rw-r--r-- | org.eclipse.text.quicksearch/plugin.xml | 10 | ||||
-rw-r--r-- | org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.text.quicksearch/plugin.xml b/org.eclipse.text.quicksearch/plugin.xml index 6570905c1f7..2ea1d412383 100644 --- a/org.eclipse.text.quicksearch/plugin.xml +++ b/org.eclipse.text.quicksearch/plugin.xml @@ -17,11 +17,11 @@ <extension point="org.eclipse.ui.commands"> <category - name="Quick Search Category" + name="Quick Search" id="org.eclipse.text.quicksearch.commands.category"> </category> <command - name="Quick Search Command" + name="Quick Search" categoryId="org.eclipse.text.quicksearch.commands.category" id="org.eclipse.text.quicksearch.commands.quicksearchCommand"> </command> @@ -36,7 +36,7 @@ point="org.eclipse.ui.actionSets"> <actionSet - label="Quick Search ActionSet" + label="Quick Search" visible="true" id="org.eclipse.text.quicksearch.actionSet"> @@ -65,9 +65,9 @@ id="org.eclipse.text.quicksearch.commands.quicksearchAction" class="org.eclipse.text.quicksearch.internal.ui.QuickSearchAction" definitionId="org.eclipse.text.quicksearch.commands.quicksearchCommand" - label="Quick Search" + label="Quick Search..." menubarPath="org.eclipse.search.menu/extraSearchGroup" - tooltip="Search for Text pattern in the workspace"> + tooltip="Search for a text pattern in the workspace"> </action> </actionSet> </extension> diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java index aaab76374bb..d3d332a1b98 100644 --- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java +++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java @@ -391,7 +391,7 @@ public class QuickSearchDialog extends SelectionStatusDialog { this.window = window; setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE | SWT.RESIZE); setBlockOnOpen(false); - this.setTitle("Quick Text Search"); + this.setTitle("Quick Search"); this.context = new QuickSearchContext(window); this.multi = false; contentProvider = new ContentProvider(); |