Bug 174228 [Preferences] PreferencePage javadoc needs tidying up
Build ID: I20061102-1715 Steps To Reproduce: comment for PreferencePage.setContainer() is /** (non-Javadoc) * Method declared on IPreferencePage. */ but should be /* (non-Javadoc) * Method declared on IPreferencePage. */ More information:
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferencePage.java
* @return the new control
     */
    protected abstract Control createContents(Composite parent);
    /**
     * The <code>PreferencePage</code> implementation of this 
     * <code>IDialogPage</code> method creates a description label
     * and button bar for the page. It calls <code>createContents</code>
     * to create the custom contents of the page.
     * <p>
     * If a subclass that overrides this method creates a <code>Composite</code>
     * that has a layout with default margins (for example, a <code>GridLayout</code>)
     * it is expected to set the margins of this <code>Layout</code> to 0 pixels.
     */
    public void createControl(Composite parent){
        GridData gd;
        Composite content = new Composite(parent, SWT.NONE);
        setControl(content);
        GridLayout layout = new GridLayout();
        layout.marginWidth = 0;
        layout.marginHeight = 0;
        content.setLayout(layout);
        
        applyDialogFont(content);
        
        initializeDialogUnits(content);
        descriptionLabel = createDescriptionLabel(content);
        if (descriptionLabel != null) {
            descriptionLabel.setLayoutData(new GridData(
                    GridData.FILL_HORIZONTAL));
        }