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 Button createRadioButton(Composite parent, String text) {
        Button button = new Button(parent, SWT.RADIO);
        button.setText(text);
        button.setFont(parent.getFont());
        button.addSelectionListener(new SelectionAdapter(){
        	/* (non-Javadoc)
        	 * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
        	 */
        	public void widgetSelected(SelectionEvent e) {
        		  updateForSelection();
        	}
          });
        return button;
    }
    /**
     * Creates the area showing which resources should be considered.
     *
     * @param parent the parent composite
     */
    protected void createResourceArea(Composite parent) {
        Composite group = new Composite(parent, SWT.NONE);
        group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        group.setLayout(new GridLayout());
        group.setFont(parent.getFont());
        anyResourceButton = createRadioButton(group, MarkerMessages
                .filtersDialog_anyResource);
        anyResourceInSameProjectButton = createRadioButton(
        		group, 
        		MarkerMessages.filtersDialog_anyResourceInSameProject);