Bug 306231 The Regular Expression Resource Filter must gracefully handle invalid patterns
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
IDEWorkbenchMessages.ResourceFilterPage_columnFilterTargets,
				null), false);
		String[] targets = FilterTypeUtil.getTargets();
		filesButton = new Button(targetComposite, SWT.RADIO);
		filesButton.setText(targets[0]);
		filesButton.setImage(util.getImage(FilterTypeUtil.TARGET, 0));
		data = new GridData(SWT.FILL, SWT.CENTER, true, false);
		filesButton.setLayoutData(data);
		filesButton.setFont(font);
		foldersButton = new Button(targetComposite, SWT.RADIO);
		foldersButton.setText(targets[1]);
		foldersButton.setImage(util.getImage(FilterTypeUtil.TARGET, 1));
		data = new GridData(SWT.FILL, SWT.CENTER, true, false);
		foldersButton.setLayoutData(data);
		foldersButton.setFont(font);
		filesAndFoldersButton = new Button(targetComposite, SWT.RADIO);
		filesAndFoldersButton.setText(targets[2]);
		filesAndFoldersButton.setImage(util.getImage(FilterTypeUtil.TARGET, 2));
		data = new GridData(SWT.FILL, SWT.CENTER, true, false);
		filesAndFoldersButton.setLayoutData(data);
		filesAndFoldersButton.setFont(font);
		filesButton.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				FilterTypeUtil.setValue(filter, FilterTypeUtil.TARGET,
						new Integer(0));
			}
		});
		foldersButton.addSelectionListener(new SelectionListener() {