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
}
    /**
     * Initializes the specified operation appropriately.
     */
    protected void initializeOperation(ImportOperation op) {
        op.setOverwriteResources(overwriteExistingResourcesCheckbox
                .getSelection());
    }
    /**
     * Opens a file selection dialog and returns a string representing the
     * selected file, or <code>null</code> if the dialog was canceled.
     */
    protected String queryZipFileToImport() {
        FileDialog dialog = new FileDialog(sourceNameField.getShell(), SWT.OPEN);
        dialog.setFilterExtensions(new String[] { FILE_IMPORT_MASK });
        dialog.setText(DataTransferMessages.getString("ZipImportSource.title")); 
        String currentSourceString = sourceNameField.getText();
        int lastSeparatorIndex = currentSourceString
                .lastIndexOf(File.separator);
        if (lastSeparatorIndex != -1)
            dialog.setFilterPath(currentSourceString.substring(0,
                    lastSeparatorIndex));
        return dialog.open();
    }
    /**
     *	Repopulate the view based on the currently entered directory.
     */
    protected void resetSelection() {
        super.resetSelection();
        setAllSelections(true);