[ui] Improved the code not to show "+" in the tree if the element is method. (Issue #6)