Project: Eclipse_Platform_UI
Bug 408763 The ImportExportPage filters allows an empty category to appear
Reported: 2013-05-22 18:09:36 | Status: verified fixed

In the Import or Export Wizard dialog, within a given category, if you have a PatternFilter allowing one wizard through and a WizardActivityFilter allowing a different wizard through, then the category remains in the display, though empty. I noticed that NewWizardNewPage does also use PatternFilter and WizardActivityFilter, but it also has one last filter WizardEmptyFolderFilter. Adding this filter to ImportExportPage does indeed seem to fix the problem.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WizardActivityFilter.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WizardCollectionElement.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WizardPatternFilter.java