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
public String getText(Object element) {
				return((MarkerFilter) element).getName();
			}
		});
		
		filtersList.addCheckStateListener(new ICheckStateListener(){
			/* (non-Javadoc)
			 * @see org.eclipse.jface.viewers.ICheckStateListener#checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent)
			 */
			public void checkStateChanged(CheckStateChangedEvent event) {
				((MarkerFilter) event.getElement()).setEnabled(event.getChecked());
				
			}
		});
		
		selectedFilters = new MarkerFilter[]{filters[0]};
		filtersList.setSelection(new StructuredSelection(selectedFilters));
		
		filtersList.addSelectionChangedListener(new ISelectionChangedListener(){
			
			/* (non-Javadoc)
			 * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
			 */
			public void selectionChanged(SelectionChangedEvent event) {
				updateFilterFromUI();
				setSelectedFilter(event);
				
			}
		});