Bug 17958 [Wizards] ZipFileImportWizard should allow configuration of supported file extensions
When selecting the source ZIP file, the user hits the "Browse..." button which opens the File Open Dialog. The file extensions are set to *.jar, *.zip There are other files such as *.war files which are in ZIP format and it would be nice to ehance the ZipFileImportWizard so that these extensions are read from a configuration/properties file. Currently, they are hardcoded in org/eclipse/ui/wizards/datatransfer/WizardZipFileResourceImportPage1.java
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardZipFileResourceImportPage1.java
if (fileName.length() == 0)
            return null;
        try {
            return new ZipFile(fileName);
        } catch (ZipException e) {
            displayErrorDialog(DataTransferMessages
                    .getString("ZipImport.badFormat")); 
        } catch (IOException e) {
            displayErrorDialog(DataTransferMessages
                    .getString("ZipImport.couldNotRead")); 
        }
        sourceNameField.setFocus();
        return null;
    }
    /**
     * Returns a structure provider for the specified zip file.
     */
    protected ZipFileStructureProvider getStructureProvider(ZipFile targetZip) {
        if (providerCache == null)
            providerCache = new ZipFileStructureProvider(targetZip);
        else if (!providerCache.getZipFile().getName().equals(
                targetZip.getName())) {
            clearProviderCache();
            
            providerCache = new ZipFileStructureProvider(targetZip);
        } else if (!providerCache.getZipFile().equals(targetZip))
            closeZipFile(targetZip); 
        return providerCache;
    }
    /**