Bug 300012 [CommonNavigator] CNF test improvements
Various improvements and corrections.
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/m12/M1ContentProvider.java
public void getPipelinedElements(Object input, Set currentElements) {
		List newElements = new ArrayList();
		for (Iterator it = currentElements.iterator(); it.hasNext();) {
			Object element = it.next();
			if (element instanceof IProject) {
				M1Project m1Project = new M1Project((IProject) element);
				it.remove();
				newElements.add(m1Project);
			}
		}
		currentElements.addAll(newElements);
	}
	public Object[] getChildren(Object parentElement) {
		try {
			return ((ResourceWrapper) parentElement).getChildren();
		} catch (CoreException e) {
			e.printStackTrace();
			return new Object[0];
		}
	}
	protected Object _convertToModelObject(Object object) {
		if (object instanceof IResource) {
			return M1Core.getModelObject((IResource) object);
		}