Bug 297731 [Filters] We could have IResourceFilterDescription#delete instead of IContainer#removeFilter ?
This is the pattern used for resource markers. It is just a minor issue, however would make new API look more consistent.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
IDEWorkbenchPlugin.IDE_WORKBENCH,
				"$nl$/icons/full/obj16/fileFolderType_filter.gif"); 
		if (descriptor != null)
			fileFolderIcon = descriptor.createImage();
		descriptor = AbstractUIPlugin.imageDescriptorFromPlugin(
				IDEWorkbenchPlugin.IDE_WORKBENCH,
				"$nl$/icons/full/obj16/includeMode_filter.gif"); 
		if (descriptor != null)
			includeIcon = descriptor.createImage();
		descriptor = AbstractUIPlugin.imageDescriptorFromPlugin(
				IDEWorkbenchPlugin.IDE_WORKBENCH,
				"$nl$/icons/full/obj16/excludeMode_filter.gif"); 
		if (descriptor != null)
			excludeIcon = descriptor.createImage();
		
		descriptor = AbstractUIPlugin.imageDescriptorFromPlugin(
				IDEWorkbenchPlugin.IDE_WORKBENCH,
				"$nl$/icons/full/obj16/inheritable_filter.gif"); 
		if (descriptor != null)
			inheritableIcon = descriptor.createImage();
	}
	Image getImage(String string, int i) {
		if (string.equals(MODE))
			return new Image[] { includeIcon, excludeIcon, inheritableIcon }[i];
		if (string.equals(TARGET))
			return new Image[] { fileIcon, folderIcon, fileFolderIcon }[i];
		return null;
	}
}
class FilterCopy extends UIResourceFilterDescription {