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/src/org/eclipse/ui/internal/wizards/datatransfer/WizardFileSystemResourceImportPage1.java
Object fileSystemObject, IImportStructureProvider provider) {
        boolean isContainer = provider.isFolder(fileSystemObject);
        String elementLabel = provider.getLabel(fileSystemObject);
        
        
        MinimizedFileSystemElement dummyParent = new MinimizedFileSystemElement(
                "", null, true);
        dummyParent.setPopulated();
        MinimizedFileSystemElement result = new MinimizedFileSystemElement(
                elementLabel, dummyParent, isContainer);
        result.setFileSystemObject(fileSystemObject);
        
        result.getFiles(provider);
        return dummyParent;
    }
    /**
     *	Create the import source specification widgets
     */
    protected void createSourceGroup(Composite parent) {
        createRootDirectoryGroup(parent);
        createFileSelectionGroup(parent);
        createButtonsGroup(parent);
    }
    /**
     * Enable or disable the button group.
     */
    protected void enableButtonGroup(boolean enable) {
        selectTypesButton.setEnabled(enable);
        selectAllButton.setEnabled(enable);
        deselectAllButton.setEnabled(enable);