Bug 292901 Confusing "Target" group for children filters
Steps: 1) I added a compound filter "or" and set "Mode" to "Exclude" and "Target" to "Folders" 2) I tried to add "Regex Filter" as a child for the compound one, and I see that I can choose "Target" here too Maybe we should choose "Target" only for top-level filters as we do with "Mode"? Or "Mode" should be available to set only if not already chosen for the parent?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
&& structuredSelection.size() > 0);
		editButton.setEnabled(structuredSelection != null
				&& structuredSelection.size() == 1);
		if (upButton != null)
			upButton.setEnabled(structuredSelection != null
					&& (structuredSelection.size() > 0)
					&& !isFirst(structuredSelection.getFirstElement()));
		if (downButton != null)
			downButton.setEnabled(structuredSelection != null
					&& (structuredSelection.size() > 0)
					&& !isLast(structuredSelection.getFirstElement()));
	}
	private boolean isFirst(Object o) {
		return filters.isFirst((FilterCopy) o);
	}
	private boolean isLast(Object o) {
		return filters.isLast((FilterCopy) o);
	}
	private void handleAdd() {
		FilterCopy newFilter = new FilterCopy();
		FilterEditDialog dialog = new FilterEditDialog(shell, newFilter);
		if (dialog.open() == Window.OK) {
			filters.add(newFilter);
			filterView.refresh();
		}
	}
	private void handleEdit() {
		ISelection selection = filterView.getSelection();
		if (selection instanceof IStructuredSelection) {
			FilterCopy filter = (FilterCopy) ((IStructuredSelection) selection)