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
null));
		data = new GridData(SWT.FILL, SWT.FILL, false, false);
		removeButton.setLayoutData(data);
		setButtonDimensionHint(removeButton);
		removeButton.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				handleRemove();
			}
		});
		if (allowReordering) {
			upButton = new Button(composite, SWT.PUSH);
			upButton
					.setText(NLS
							.bind(
									IDEWorkbenchMessages.ResourceFilterPage_upButtonLabel,
									null));
			data = new GridData(SWT.FILL, SWT.FILL, false, false);
			upButton.setLayoutData(data);
			setButtonDimensionHint(upButton);
			upButton.addSelectionListener(new SelectionListener() {
				public void widgetDefaultSelected(SelectionEvent e) {
				}
				public void widgetSelected(SelectionEvent e) {
					handleUp();
				}
			});
			downButton = new Button(composite, SWT.PUSH);
			downButton.setText(NLS.bind(