Bug 92203 [Preferences] preferences package needs cleanup
org.eclipse.ui.preferences contains classes that should not be API by my estimation. These should be cleaned up before 3.1 ships.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesPage.java
return false;
            }
            file.delete();
        } else if (!file.isDirectory()) {
            File parent = file.getParentFile();
            if (parent != null)
                file.getParentFile().mkdirs();
        }
        return true;
    }
    
    /*
     * (non-Javadoc)
     * 
     * @see org.eclipse.ui.dialogs.WizardDataTransferPage#saveWidgetValues()
     */
    protected void saveWidgetValues() {
        
        internalSaveWidgetValues();
    }
    /**
     * The Finish button was pressed. Try to do the required work now and answer
     * a boolean indicating success. If false is returned then the wizard will
     * not close.
     * 
     * @return boolean
     */
    public boolean finish() {
        
        saveWidgetValues();