Bug 97523 [Import/Export] Get overwrite prompt before no resources selected prompt
3.1 RC1 - File > Export > Archive - clear any selected resources - enter an archive file name where the file already exists - Finish - it prompts to overwrite the file; choose Yes - it says "There are no resources currently selected for export" (OK) Should get the "no resources" prompt first, and not bother with the second one. Should check the other export wizards too.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardExportResourcesPage.java
internalSaveWidgetValues();
    }
    /**
     * Set the initial selections in the resource group.
     */
    protected void setupBasedOnInitialSelections() {
        Iterator it = this.initialResourceSelection.iterator();
        while (it.hasNext()) {
            IResource currentResource = (IResource) it.next();
            if (currentResource.getType() == IResource.FILE)
                this.resourceGroup.initialCheckListItem(currentResource);
            else
                this.resourceGroup.initialCheckTreeItem(currentResource);
        }
    }
    /**
     * Update the tree to only select those elements that match the selected types
     */
    private void setupSelectionsBasedOnSelectedTypes() {
        Runnable runnable = new Runnable() {
            public void run() {
                Map selectionMap = new Hashtable();
                
                Iterator resourceIterator = resourceGroup
                        .getAllWhiteCheckedItems().iterator();
                while (resourceIterator.hasNext()) {
                    
                    IResource resource = (IResource) resourceIterator.next();
                    if (resource.getType() == IResource.FILE) {