Project: Eclipse_Platform_UI
Bug 233313 [Preferences] Mistake in javadoc for PreferencePage
Reported: 2008-05-21 14:51:22 | Status: closed fixed

Build ID: M20080221-1800 Steps To Reproduce: Open source code for org.eclipse.jface.preference.PreferencePage. The javadoc of the PreferencePage states that: "Subclasses must implement the createControl framework method to supply the page's main control." I think this should be "Subclasses must implement the _createContents_ framework method to supply the page's main control." More information: Because createControl is inherited from DialogPage and implements buttons and decoration. The method then calls the abstract createContents that people use to fill out the preference page with SWT controls.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferencePage.java