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>
diff --git a/org.eclipse.text.quicksearch/plugin.xml b/org.eclipse.text.quicksearch/plugin.xml
index 6570905..2ea1d41 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 aaab763..d3d332a 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 @@
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();