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
MarkerFilter filter = getSelectedFilter();
    	
    	if(filter == null){
    		updateEnabledState(false);
    		return;
    	}
    		    	
        updateUIWithFilter(filter);
    }
    /**
     * Update the UI with the contents of filter.
     * @param filter
     */
	protected void updateUIWithFilter(MarkerFilter filter) {
		setSelectedTypes(filter.getSelectedTypes());
        int on = filter.getOnResource();
        anyResourceButton.setSelection(on == MarkerFilter.ON_ANY);
        anyResourceInSameProjectButton
                .setSelection(on == MarkerFilter.ON_ANY_IN_SAME_CONTAINER);
        selectedResourceButton
                .setSelection(on == MarkerFilter.ON_SELECTED_ONLY);
        selectedResourceAndChildrenButton
                .setSelection(on == MarkerFilter.ON_SELECTED_AND_CHILDREN);
        workingSetGroup.setSelection(on == MarkerFilter.ON_WORKING_SET);
        workingSetGroup.setWorkingSet(filter.getWorkingSet());
        updateEnabledState(true);
	}
    /**
     * @return <code>true</code> if the dirty flag has been set otherwise