Bug 108017 [Markers] Disabling a marker type disables the whole filter
20050825 When you disable a marker type it disables the whole dialog.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
MarkerFilter selected = getSelectedFilter();
            	if(selected == null)
            		return new Object[0];
            	
                List roots = selected.getRootTypes();
                List elements = new ArrayList();
                for (int i = 0; i < roots.size(); i++) {
                    Object obj = roots.get(i);
                    if (obj instanceof MarkerType) {
                        elements.add(obj);
                        MarkerType[] subTypes = ((MarkerType) obj)
                                .getAllSubTypes();
                        for (int j = 0; j < subTypes.length; j++) {
                            MarkerType subType = subTypes[j];
                            if (!elements.contains(subType)) {
                                elements.add(subType);
                            }
                        }
                    }
                }
                return elements.toArray();
            }
            public void dispose() {
            }
            public void inputChanged(Viewer viewer, Object oldInput,
                    Object newInput) {
            }
        };
    }
    /**