Added functionality to set the a read only state on the tree nodes.

Added functionality to set the a read only state on the tree nodes.

issue A24Group/Triage#2578