mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
Fix for Bug 66933: [Selection Search] Working set name is {0} in search results
This commit is contained in:
parent
38230067bd
commit
ada2d52b6c
3 changed files with 10 additions and 2 deletions
|
@ -4,6 +4,12 @@
|
||||||
fixed other duplicate mnemonices in New Class wizard.
|
fixed other duplicate mnemonices in New Class wizard.
|
||||||
*org.eclipse.cdt.ui.wizards/NewWizardMessages.properties
|
*org.eclipse.cdt.ui.wizards/NewWizardMessages.properties
|
||||||
|
|
||||||
|
2004-06-18 Bogdan Gheorghe
|
||||||
|
Fix for Bug 66933: [Selection Search] Working set name is {0} in search results
|
||||||
|
|
||||||
|
* src/org/eclipse/cdt/internal/ui/search/actions/FindDeclarationsInWorkingSetAction.java
|
||||||
|
* src/org/eclipse/cdt/internal/ui/search/actions/FindRefsInWorkingSetAction.java
|
||||||
|
|
||||||
2004-06-18 Bogdan Gheorghe
|
2004-06-18 Bogdan Gheorghe
|
||||||
Part 2 of Fix for Bug 62668: [Search] Search results rely on case of file names in include statement
|
Part 2 of Fix for Bug 62668: [Search] Search results rely on case of file names in include statement
|
||||||
rather then the filesystem
|
rather then the filesystem
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class FindDeclarationsInWorkingSetAction extends FindAction {
|
||||||
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScopeDescription()
|
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScopeDescription()
|
||||||
*/
|
*/
|
||||||
protected String getScopeDescription() {
|
protected String getScopeDescription() {
|
||||||
return CSearchMessages.getString("WorkingSetScope"); //$NON-NLS-1$
|
return CSearchMessages.getFormattedString("WorkingSetScope", CSearchUtil.toString(fWorkingSet)); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScope()
|
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScope()
|
||||||
|
@ -74,6 +74,7 @@ public class FindDeclarationsInWorkingSetAction extends FindAction {
|
||||||
workingSets= CSearchScopeFactory.getInstance().queryWorkingSets();
|
workingSets= CSearchScopeFactory.getInstance().queryWorkingSets();
|
||||||
if (workingSets == null)
|
if (workingSets == null)
|
||||||
return null;
|
return null;
|
||||||
|
fWorkingSet = workingSets;
|
||||||
}
|
}
|
||||||
ICSearchScope scope= CSearchScopeFactory.getInstance().createCSearchScope(workingSets);
|
ICSearchScope scope= CSearchScopeFactory.getInstance().createCSearchScope(workingSets);
|
||||||
CSearchUtil.updateLRUWorkingSets(workingSets);
|
CSearchUtil.updateLRUWorkingSets(workingSets);
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class FindRefsInWorkingSetAction extends FindAction {
|
||||||
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScopeDescription()
|
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScopeDescription()
|
||||||
*/
|
*/
|
||||||
protected String getScopeDescription() {
|
protected String getScopeDescription() {
|
||||||
return CSearchMessages.getString("WorkingSetScope"); //$NON-NLS-1$
|
return CSearchMessages.getFormattedString("WorkingSetScope", CSearchUtil.toString(fWorkingSet)); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScope()
|
* @see org.eclipse.cdt.internal.ui.editor.selsearch.FindAction#getScope()
|
||||||
|
@ -76,6 +76,7 @@ public class FindRefsInWorkingSetAction extends FindAction {
|
||||||
workingSets= CSearchScopeFactory.getInstance().queryWorkingSets();
|
workingSets= CSearchScopeFactory.getInstance().queryWorkingSets();
|
||||||
if (workingSets == null)
|
if (workingSets == null)
|
||||||
return null;
|
return null;
|
||||||
|
fWorkingSet = workingSets;
|
||||||
}
|
}
|
||||||
ICSearchScope scope= CSearchScopeFactory.getInstance().createCSearchScope(workingSets);
|
ICSearchScope scope= CSearchScopeFactory.getInstance().createCSearchScope(workingSets);
|
||||||
CSearchUtil.updateLRUWorkingSets(workingSets);
|
CSearchUtil.updateLRUWorkingSets(workingSets);
|
||||||
|
|
Loading…
Add table
Reference in a new issue