Bug 205053 [Navigator] Navigator Filters dialog box is empty
Build ID: M20070921-1145 Steps To Reproduce: 1. New install of the platform opening to a new or existing workpsace. 2. Open the Navigator view. 3. Select Filters... from the Navigator view pull-down menu. The Navigator Filters dialog box does not show any types to filter. More information:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/FiltersContentProvider.java
}
        return defaultFilters;
    }
    /**
     * Returns the filters currently defined for the navigator.
     *
     * @return a list of strings
     */
    public static List getDefinedFilters() {
        if (definedFilters == null) {
            readFilters();
        }
        return definedFilters;
    }
    /* (non-Javadoc)
     * Method declared on IStructuredContentProvider.
     */
    public Object[] getElements(Object inputElement) {
        return getDefinedFilters().toArray();
    }
    /**
     * Return the initially selected elements.
     */
    public String[] getInitialSelections() {
        return this.resourceFilter.getPatterns();
    }
    /* (non-Javadoc)
     * Method declared on IContentProvider.
     */
    public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {