Removed some code that appeared not to be used in Resource Tree Panel
Removed unused code in Resource Tree Panel

* origin/pr/12033:
  Removed some code that appeared not to be used in Resource Tree Panel