mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Patch for Hoda Amer
Documentation needs a different help ID for each CEditor preference page.
This commit is contained in:
parent
63b3ca67db
commit
b0138f2973
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2003-09-29 Hoda Amer
|
||||||
|
- Fixed Help IDs for C_Editor preference tabs.
|
||||||
|
|
||||||
2003-09-26 David Inglis
|
2003-09-26 David Inglis
|
||||||
fixes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=43776
|
fixes: https://bugs.eclipse.org/bugs/show_bug.cgi?id=43776
|
||||||
|
|
||||||
|
|
|
@ -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_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_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_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 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 LAUNCH_PROPERTY_PAGE= PREFIX + "new_launch_property_page_context";
|
||||||
public static final String PROJECT_PROPERTY_PAGE= PREFIX + "new_project_property_page_context";
|
public static final String PROJECT_PROPERTY_PAGE= PREFIX + "new_project_property_page_context";
|
||||||
|
|
|
@ -360,7 +360,6 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
|
||||||
*/
|
*/
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
super.createControl(parent);
|
super.createControl(parent);
|
||||||
WorkbenchHelp.setHelp(parent, ICHelpContextIds.C_EDITOR_PREF_PAGE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void handleListSelection() {
|
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;
|
return colorComposite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -878,6 +877,7 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
WorkbenchHelp.setHelp(behaviorComposite, ICHelpContextIds.C_EDITOR_PREF_PAGE);
|
||||||
return behaviorComposite;
|
return behaviorComposite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -927,6 +927,8 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
|
||||||
// label= "Fo®round for method parameters:";
|
// label= "Fo®round for method parameters:";
|
||||||
// addColorButton(contentAssistComposite, label, ContentAssistPreference.PARAMETERS_FOREGROUND, 0);
|
// addColorButton(contentAssistComposite, label, ContentAssistPreference.PARAMETERS_FOREGROUND, 0);
|
||||||
|
|
||||||
|
WorkbenchHelp.setHelp(contentAssistComposite, ICHelpContextIds.C_EDITOR_CONTENT_ASSIST_PREF_PAGE);
|
||||||
|
|
||||||
return contentAssistComposite;
|
return contentAssistComposite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue