Treeview as UIExtensionSite

Topics: CAB & Smart Client Software Factory
Oct 28, 2006 at 10:51 AM
originally posted by: hmersin

Hi all,

I need to use a treeview as a navigation system in my CAB and created an adapter and a factory for it. When I add a branch and sub-branch, things work just fine.

Different modules will add different braches to the tree under different parent nodes. But I want only one of each parent node. The module will register the item with a group name and a command name. If the group already exists in the tree, it shouldn't create another group with the same name but just add the command to the existing group.

In order to do that I think I should check if the UIExtensionSite already contains such group, but how? I cannot enumerate thru UIExtensionSite items, nor get a reference to its individual items. Could anyone help me out here please?

Thanks in advance