1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Patch for Hoda Amer

Documentation needs a different help ID for each CEditor preference page.
This commit is contained in:
John Camelon 2003-09-29 14:56:38 +00:00
parent 63b3ca67db
commit b0138f2973
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,6 @@
2003-09-29 Hoda Amer
- Fixed Help IDs for C_Editor preference tabs.
2003-09-26 David Inglis
fixes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=43776

View file

@ -34,6 +34,7 @@ public interface ICHelpContextIds {
public static final String C_EDITOR_PREF_PAGE= PREFIX + "new_c_editor_pref_page_context";
public static final String C_EDITOR_ANNOTATIONS_PREF_PAGE= PREFIX + "new_c_editor_annotations_pref_page_context";
public static final String C_EDITOR_COLORS_PREF_PAGE= PREFIX + "new_c_editor_colors_pref_page_context";
public static final String C_EDITOR_CONTENT_ASSIST_PREF_PAGE= PREFIX + "new_c_editor_content_assist_pref_page_context";
public static final String TEMPLATE_PREFERENCE_PAGE= PREFIX + "new_c_templates_pref_page_context";
public static final String LAUNCH_PROPERTY_PAGE= PREFIX + "new_launch_property_page_context";
public static final String PROJECT_PROPERTY_PAGE= PREFIX + "new_project_property_page_context";

View file

@ -360,7 +360,6 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
*/
public void createControl(Composite parent) {
super.createControl(parent);
WorkbenchHelp.setHelp(parent, ICHelpContextIds.C_EDITOR_PREF_PAGE);
}
protected void handleListSelection() {
@ -661,7 +660,7 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
}
});
WorkbenchHelp.setHelp(parent, ICHelpContextIds.C_EDITOR_COLORS_PREF_PAGE);
WorkbenchHelp.setHelp(colorComposite, ICHelpContextIds.C_EDITOR_COLORS_PREF_PAGE);
return colorComposite;
}
@ -878,6 +877,7 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
}
});
WorkbenchHelp.setHelp(behaviorComposite, ICHelpContextIds.C_EDITOR_PREF_PAGE);
return behaviorComposite;
}
@ -927,6 +927,8 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
// label= "Fo&reground for method parameters:";
// addColorButton(contentAssistComposite, label, ContentAssistPreference.PARAMETERS_FOREGROUND, 0);
WorkbenchHelp.setHelp(contentAssistComposite, ICHelpContextIds.C_EDITOR_CONTENT_ASSIST_PREF_PAGE);
return contentAssistComposite;
}