Bug 299536 API refers to non-API type UIResourceFilterDescription
I20100112 CreateGroupOperation and CreateFolderOperation have constructors that require a UIResourceFilterDescription[]. However this is a non-API type, so clients can't reference it without using internals. Either the constructor should be removed or something like UIResourceFilterDescription needs to be promoted to API. Also, shouldn't CreateFolderOperation be renamed CreateVirtualFolderOperation?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceFilterGroup.java
&& (structuredSelection.size() > 0)
					&& !isLast(structuredSelection.getFirstElement()));
	}
	private boolean isFirst(Object o) {
		return filters.isFirst((FilterCopy) o);
	}
	private boolean isLast(Object o) {
		return filters.isLast((FilterCopy) o);
	}
	private void handleAdd() {
		FilterCopy newFilter = new FilterCopy();
		FilterEditDialog dialog = new FilterEditDialog(shell, newFilter);
		if (dialog.open() == Window.OK) {
			filters.add(newFilter);
			filterView.refresh();
		}
	}
	private void handleEdit() {
		ISelection selection = filterView.getSelection();
		if (selection instanceof IStructuredSelection) {
			FilterCopy filter = (FilterCopy) ((IStructuredSelection) selection)
					.getFirstElement();
			FilterCopy copy = new FilterCopy(filter);
			copy.setParent(filter.getParent());
			FilterEditDialog dialog = new FilterEditDialog(shell, copy);
			if (dialog.open() == Window.OK) {
				if (copy.hasChanged()) {
					filter.copy(copy);
					filterView.refresh();
				}