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
int size = readIn.readInt();
					LinkedList droppedFilters = new LinkedList();
					for (int i = 0; i < size; i++) {
						int serialNumber = readIn.readInt();
						FilterCopy tmp = filters
								.findBySerialNumber(serialNumber);
						if (tmp != null)
							droppedFilters.add(tmp);
					}
					myData = (FilterCopy[]) droppedFilters
							.toArray(new FilterCopy[0]);
					readIn.close();
				} catch (IOException ex) {
					return null;
				}
				return myData;
			}
			return null;
		}
		private final String MYTYPENAME = "org.eclipse.ui.ide.internal.filterCopy"; 
		private final int MYTYPEID = registerType(MYTYPENAME);
		protected String[] getTypeNames() {
			return new String[] { MYTYPENAME };
		}
		protected int[] getTypeIds() {
			return new int[] { MYTYPEID };
		}
	}
}
class FilterTypeUtil {