Bug 85506 [Import/Export] [Preferences] import preference wizard uses a "save" dialog.
I20050215-2300 The import preferences wizard provides a browse button to select the file you wish to import from. However, it creates a Save As dialog. When you select the file you wish to import you are greeted with a warning that the file will be overwritten. No such thing occurrs, and otherwise the import succeeds.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesPage.java
*/
    private void addSelectionButtons(Composite composite) {
        buttonComposite = new Composite(composite, SWT.NONE);
        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        buttonComposite.setLayout(layout);
        GridData data = new GridData(GridData.GRAB_HORIZONTAL);
        data.grabExcessHorizontalSpace = true;
        buttonComposite.setLayoutData(data);
        Button selectButton = createButton(buttonComposite,
                IDialogConstants.SELECT_ALL_ID, IDEWorkbenchMessages.SelectionDialog_selectLabel, false);
        SelectionListener listener = new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                setAllChecked(true);
            }
        };
        selectButton.addSelectionListener(listener);
        Button deselectButton = createButton(buttonComposite,
                IDialogConstants.DESELECT_ALL_ID, IDEWorkbenchMessages.SelectionDialog_deselectLabel, false);
        listener = new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                setAllChecked(false);
            }
        };
        deselectButton.addSelectionListener(listener);
    }
    /**
     * @param bool
     */
    protected void setAllChecked(boolean bool) {