Clean functions for filling the tree list
Two separate functions for the perspective item and the view item
are added. These functions do some item specific preprocessing.
After that, in both cases, a new templated function is called.
This allows to remove code redundancy inside the
view navigator widget class.