1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

bug 61233

This commit is contained in:
Andrew Niefer 2004-05-14 18:27:20 +00:00
parent fc76ab65c7
commit 53f99e1262

View file

@ -172,16 +172,22 @@ public class CSearchQuery implements ISearchQuery, ICSearchConstants {
* @see org.eclipse.search.ui.ISearchQuery#getLabel()
*/
public String getLabel() {
String label;
if (_limitTo == REFERENCES)
return CSearchMessages.getString("CSearchQuery.searchfor_references"); //$NON-NLS-1$
label = CSearchMessages.getString("CSearchQuery.searchfor_references"); //$NON-NLS-1$
else if (_limitTo == DECLARATIONS)
return CSearchMessages.getString("CSearchQuery.searchfor_declarations"); //$NON-NLS-1$
label = CSearchMessages.getString("CSearchQuery.searchfor_declarations"); //$NON-NLS-1$
else if (_limitTo == DEFINITIONS)
return CSearchMessages.getString("CSearchQuery.searchfor_definitions"); //$NON-NLS-1$
label = CSearchMessages.getString("CSearchQuery.searchfor_definitions"); //$NON-NLS-1$
else if (_limitTo == ALL_OCCURRENCES)
return CSearchMessages.getString("CSearchQuery.searchfor_all"); //$NON-NLS-1$
label = CSearchMessages.getString("CSearchQuery.searchfor_all"); //$NON-NLS-1$
else
label = CSearchMessages.getString("CSearchQuery.search_label"); //$NON-NLS-1$;
return CSearchMessages.getString("CSearchQuery.search_label"); //$NON-NLS-1$;
label += " \"";
label += _stringPattern;
label += '"';
return label;
}
/* (non-Javadoc)