IHierarchyEditor


Describes minimum required functionality from HierarchyEditor widget.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IHierarchyEditor :public virtual IControl, public virtual IComponentItemTree
{
public:
    virtual int getItemCount() = 0; // Return item count 
    virtual IListItemHierarchyEditor *getItem(const int index) = 0; // Return item by index 

    virtual IListItemHierarchyEditor *Add(IListItemHierarchyEditor *item) = 0; // Add item 
    virtual IListItemHierarchyEditor *Add(const String &caption, IComponent *component, IControl *control, IListItem *item) = 0; // Add item 
    virtual IListItemHierarchyEditor *Add(const String &caption, IComponent *component, IControl *control, IListItem *item, IControl *parent, const bool unfold) = 0; // Add item 
    virtual bool Delete(const int index) = 0; // Delete item by index 
    virtual bool Clear() = 0; // Delete all items 
};
Namespace: nitisa::ide
Include: Ide/Controls/IHierarchyEditor.h