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
if(filter == null){
    		updateEnabledState(false);
    		return;
    	}
    		
        updateFilterFromUI(filter);
    }
    /**
     * Update the selected filter from the UI.
     * @param filter
     */
	protected void updateFilterFromUI(MarkerFilter filter) {
        filter.setSelectedTypes(getSelectedTypes());
        if (selectedResourceButton.getSelection())
            filter.setOnResource(MarkerFilter.ON_SELECTED_ONLY);
        else if (selectedResourceAndChildrenButton.getSelection())
            filter
                    .setOnResource(MarkerFilter.ON_SELECTED_AND_CHILDREN);
        else if (anyResourceInSameProjectButton.getSelection())
            filter.setOnResource(MarkerFilter.ON_ANY_IN_SAME_CONTAINER);
        else if (workingSetGroup.getSelection())
            filter.setOnResource(MarkerFilter.ON_WORKING_SET);
        else
            filter.setOnResource(MarkerFilter.ON_ANY);
        filter.setWorkingSet(workingSetGroup.getWorkingSet());
	}
    /**
     * Updates the UI state from the given filter.
     */
    protected final void updateUIFromFilter() {