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
IFilterDescriptor.ARGUMENT_TYPE_STRING))
				return descriptors[i].getId();
		}
		return descriptors[0].getId();
	}
	static IFilterDescriptor getDescriptorFromIndex(int index) {
		IFilterDescriptor descriptors[] = ResourcesPlugin.getWorkspace()
				.getFilterDescriptors();
		return descriptors[index];
	}
	static IFilterDescriptor getDescriptorByName(String name) {
		IFilterDescriptor[] descriptors = ResourcesPlugin.getWorkspace()
				.getFilterDescriptors();
		for (int i = 0; i < descriptors.length; i++) {
			if (descriptors[i].getName().equals(name))
				return descriptors[i];
		}
		return null;
	}
	private Image fileIcon = null;
	private Image folderIcon = null;
	private Image fileFolderIcon = null;
	private Image includeIcon = null;
	private Image excludeIcon = null;
	FilterTypeUtil() {
		ImageDescriptor descriptor = AbstractUIPlugin
				.imageDescriptorFromPlugin(IDEWorkbenchPlugin.IDE_WORKBENCH,
						"$nl$/icons/full/obj16/fileType_filter.gif"); 
		if (descriptor != null)
			fileIcon = descriptor.createImage();