Widgets can select specific classes. Tree needs to respect this filter and provide only items which belong to the data object class.