Creates an appropriate TreeNavigator instance. To obtain the name of the class to instantiate, it reads the
preference "com.ptc.windchill.esi.BOM.bomTreeNavigator" if the input root is a WTPart, reads the preference
"com.ptc.windchill.esi.epmdoc.treeNavigator" otherwise. Calls setData() on the instantiated object before
returning it.
Supported API: true
Parameters:
root - Persistable object whose structure is to be navigated.
depth - Number of levels in the structure to navigate.
navCriteria - Navigation criteria to be used for navigating the structure.