Bug 291755 [Filters] Filters implementation and API cleanup
This bug is raised to track reviewing and cleanup of filters API and implementation.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
this.arguments = arguments;
		argumentsChanged();
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setPath(IPath path) {
		this.path = path;
	}
	public void setProject(IProject project) {
		this.project = project;
	}
	public void setType(int type) {
		this.type = type;
	}
	public boolean hasStringArguments() {
		IFilterDescriptor descriptor = FilterTypeUtil.getDescriptor(id);
		if (descriptor != null)
			return descriptor.getArgumentType().equals(
					IFilterDescriptor.ARGUMENT_TYPE_STRING);
		return false;
	}
	public int getChildrenLimit() {
		IFilterDescriptor descriptor = FilterTypeUtil.getDescriptor(id);
		if (descriptor != null) {
			if (descriptor.getArgumentType().equals(
					IFilterDescriptor.ARGUMENT_TYPE_FILTER))
				return 1;
			if (descriptor.getArgumentType().equals(
					IFilterDescriptor.ARGUMENT_TYPE_FILTERS))