| item | Item to add. |
| parentId | The parent id for the item. |
| childIndex | The child index in the parent's children list. |
| rebuildTree | Whether the tree data should be rebuilt right away. Call TreeViewController.RebuildTree when false. |
Adds an item to the tree.