Bug 292759 The "Edit Resource Filter" dialog doesn't populate the "Type" field
Steps: 1) Open the "Edit Resource Filter" dialog on a compound filter 2) See, that "Type" is not populated
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
.getFilterDescriptors();
		for (int i = 0; i < descriptors.length; i++) {
			if (descriptors[i].getId().equals(id))
				return descriptors[i];
		}
		return null;
	}
	static int getDescriptorIndex(String id) {
		IFilterDescriptor descriptors[] = ResourcesPlugin.getWorkspace()
				.getFilterDescriptors();
		for (int i = 0; i < descriptors.length; i++) {
			if (descriptors[i].getId().equals(id))
				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;