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
return i;
		}
		return -1;
	}
	static Object getValue(IResourceFilter filter, String property) {
		if (property.equals(ID)) {
			String id = filter.getId();
			int index = getDescriptorIndex(id);
			return new Integer(index);
		}
		if (property.equals(MODE)) {
			if ((filter.getType() & IResourceFilter.INCLUDE_ONLY) != 0)
				return new Integer(0);
			return new Integer(1);
		}
		if (property.equals(TARGET)) {
			boolean includeFiles = (filter.getType() & IResourceFilter.FILES) != 0;
			boolean includeFolders = (filter.getType() & IResourceFilter.FOLDERS) != 0;
			if (includeFiles && includeFolders)
				return new Integer(2);
			if (includeFiles)
				return new Integer(0);
			if (includeFolders)
				return new Integer(1);
		}
		if (property.equals(INHERITABLE))
			return new Boolean(
					(filter.getType() & IResourceFilter.INHERITABLE) != 0);
		if (property.equals(ARGUMENTS))
			return filter.getArguments() != null ? filter.getArguments() : "";