Describes minimum required functionality from PropertyEditor widget.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IPropertyEditor :public virtual IControl
{
public:
void(*OnPropertyChange)(IPropertyEditor *sender, IProperty *property, IPropertyList *property_list, IClass *parent); // Event called when property has been changed
virtual int getPropertyListCount() = 0; // Return count of assigned property lists
virtual IPropertyList *getPropertyList(const int index) = 0; // Return property list by index
virtual int getPropertyCount() = 0; // Return count of common properties for all attached property lists
virtual IProperty *getProperty(const int index) = 0; // Return property by index
virtual int getActivePropertyIndex() = 0; // Return index of active property'); ?>
virtual bool AttachPropertyList(IPropertyList *list) = 0; // Attach property list
virtual bool DetachPropertyList(const int index) = 0; // Detach property list by index
virtual bool DetachPropertyList(IPropertyList *list) = 0; // Detach property list
virtual bool DetachPropertyLists() = 0; // Detach all property lists
};
Namespace: | nitisa::ide |
Include: | Ide/Controls/IPropertyEditor.h |