Bug 299324 [CommonNavigator] Add new test Pipeline content provider
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/m12/ResourceWrapperContentProvider.java
if (counters == null) {
			return 0;
		}
		Integer value = (Integer) counters.get(counterId);
		return (value == null) ? 0 : value.intValue();
	}
	protected boolean _convertToModelObjects(
			PipelinedShapeModification modification) {
		Object parent = modification.getParent();
		Object node = _convertToModelObject(parent);
		if (node != null && node != parent) {
			modification.setParent(node);
		}
		return _convertToModelObjects(modification.getChildren());
	}
	protected boolean _convertToModelObjects(Set children) {
		Set convertedChildren = new LinkedHashSet();
		for (Iterator childrenItr = children.iterator(); childrenItr.hasNext();) {
			Object child = childrenItr.next();
			Object node = _convertToModelObject(child);
			if (node != null && node != child) {
				childrenItr.remove();
				convertedChildren.add(node);
			}
		}
		children.addAll(convertedChildren);
		return (!convertedChildren.isEmpty());
	}
	protected abstract Object _convertToModelObject(Object object);
}