add tree widget base class