TreeNode("Root");
TreeNode* parentNode1 = rootNode->addNode("Parent 1");
parentNode1->enableActivityControl(ObserverHints::CheckboxActivityDisplay,ObserverHints::CheckboxTriggered);
TreeNode* parentNode2 = rootNode->addNode("Parent 2");
parentNode2->enableNamingControl(ObserverHints::EditableNames,NamingPolicyFilter::ProhibitDuplicateNames);
parentNode1->addItem("Child 1");
parentNode1->addItem("Child 2");
parentNode2->addItem("Child 3");
parentNode2->addItem("Child 4");
parentNode2->addItem("Child 5");
\en