mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Patch for Andrew Niefer.
UI: fix bug 43932 Search: Wrong icons for context search in Outline View fix bug 48020 Duplicate Mnemonics in Search Dialog
This commit is contained in:
parent
bce674ac9a
commit
6424b6c980
4 changed files with 12 additions and 4 deletions
|
@ -3,6 +3,10 @@
|
|||
Removed the case sensitivily user preference.
|
||||
Exported content assist strings to a properties file.
|
||||
|
||||
2003-12-05 Andrew Niefer
|
||||
fix bug 43932 Search: Wrong icons for context search in Outline View
|
||||
fix bug 48020 Duplicate Mnemonics in Search Dialog
|
||||
|
||||
2003-12-03 Hoda Amer
|
||||
Content Assist work :Added a new internal package for content assist
|
||||
Added more functionality to the CompletionEngine.
|
||||
|
|
|
@ -150,9 +150,11 @@ public class CPluginImages {
|
|||
//for search
|
||||
public static final String IMG_OBJS_SEARCH_REF = NAME_PREFIX + "search_ref_obj.gif";
|
||||
public static final String IMG_OBJS_SEARCH_DECL = NAME_PREFIX + "search_decl_obj.gif";
|
||||
public static final String IMG_OBJS_CSEARCH = NAME_PREFIX + "csearch_obj.gif";
|
||||
|
||||
public static final ImageDescriptor DESC_OBJS_SEARCH_DECL = createManaged(T_OBJ, IMG_OBJS_SEARCH_DECL);
|
||||
public static final ImageDescriptor DESC_OBJS_SEARCH_REF = createManaged(T_OBJ, IMG_OBJS_SEARCH_REF);
|
||||
public static final ImageDescriptor DESC_OBJS_CSEARCH = createManaged(T_OBJ, IMG_OBJS_CSEARCH);
|
||||
|
||||
public static void initialize() {
|
||||
//createManaged(registry, T_OBJ, IMG_OBJS_TUNIT);
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SearchDialogAction extends Action {
|
|||
setToolTipText(CUIPlugin.getResourceString(PREFIX + "tooltip"));
|
||||
|
||||
if(provider instanceof CContentOutlinePage) {
|
||||
CPluginImages.setImageDescriptors(this, CPluginImages.T_LCL, CPluginImages.IMG_MENU_OPEN_INCLUDE);
|
||||
setImageDescriptor( CPluginImages.DESC_OBJS_CSEARCH );
|
||||
}
|
||||
|
||||
fSelectionProvider= provider;
|
||||
|
@ -57,7 +57,7 @@ public class SearchDialogAction extends Action {
|
|||
setToolTipText(CUIPlugin.getResourceString(PREFIX + "tooltip"));
|
||||
|
||||
if(provider instanceof CContentOutlinePage) {
|
||||
CPluginImages.setImageDescriptors(this, CPluginImages.T_LCL, CPluginImages.IMG_MENU_OPEN_INCLUDE);
|
||||
setImageDescriptor( CPluginImages.DESC_OBJS_CSEARCH );
|
||||
}
|
||||
|
||||
fSelectionProvider= provider;
|
||||
|
@ -168,7 +168,9 @@ public class SearchDialogAction extends Action {
|
|||
if (descriptor != null) {
|
||||
return descriptor.getId();
|
||||
} else {
|
||||
return registry.getDefaultEditor().getId();
|
||||
//getDefaultEditor is deprecated, The system external editor is the default editor
|
||||
return IEditorRegistry.SYSTEM_EXTERNAL_EDITOR_ID;
|
||||
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -50,7 +50,7 @@ Search.potentialMatchDialog.message= Inexact matches were found and will be disp
|
|||
|
||||
CSearchPage.searchFor.label= Search For
|
||||
CSearchPage.searchFor.type= &Type
|
||||
CSearchPage.searchFor.namespace= Name&space
|
||||
CSearchPage.searchFor.namespace= Names&pace
|
||||
CSearchPage.searchFor.method= &Method
|
||||
CSearchPage.searchFor.function= F&unction
|
||||
CSearchPage.searchFor.field= &Field
|
||||
|
|
Loading…
Add table
Reference in a new issue