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
IPreferenceFilter[] filters = null;
        PreferenceTransferElement[] transferElements;
        transferElements = getPreferenceTransferElements();
        if (transferElements != null) {
            filters = new IPreferenceFilter[transferElements.length];
            for (int j = 0; j < transferElements.length; j++) {
                PreferenceTransferElement element = transferElements[j];
                try {
                    filters[j] = element.getFilter();
                } catch (CoreException e) {
                    WorkbenchPlugin.log(e.getMessage(), e);
                }
            }
        } else
            filters = new IPreferenceFilter[0];
        
        return filters;
    }
    /**
     * @return the list of transfer elements
     */
    protected PreferenceTransferElement[] getPreferenceTransferElements() {
        PreferenceTransferElement[] transferElements;
        
        TableItem[] items = transfersTable.getItems();
        List transferList = new ArrayList();
        for (int i = 0; i < items.length; i++) {
            TableItem item = items[i];
            if (item.getChecked()) {
                transferList.add(item.getData());