Bug 107978 [Markers] New filter is not selected in problems filters dialog
20050823 If you add a new filter it is not selected in the problems filters dialog
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
protected void updateForSelection() {
		updateEnabledState(true);
		markDirty();
	}
	/**
	 * Get all of the marker types avilable for the filter
	 * @param selected
	 * @return Object[]
	 */
	Object[] getAllMarkerTypes(MarkerFilter selected) {
		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();
	}
}