pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | List of all members
X3g::Plugin::IPropertyCallbacks Interface Reference

Allows to implement your own properties and add them to a provider. More...

Public Member Functions

IList< IPropertyDescriptor^ >^ GetProperties ()
 Returns collection of property descriptions which are implemented by these callbacks. More...
 
PropertyValueGetPropertyValue (System::String^ pKey)
 Returns value of property with given key. More...
 
void SetPropertyValue (System::String^ pKey, PropertyValue^ pValue)
 Sets value of property with given key. More...
 
PropertyState GetPropertyState (System::String^ pKey)
 Returns state of property with given key. More...
 

Detailed Description

Allows to implement your own properties and add them to a provider.

A plugin should always use a group property as root for its specific properties. In a property layout with tabs, the top group represents the tab and thus the name of the tab. Without such a group, all properties are placed in a generic "Plugin" group - this should be avoided.

Member Function Documentation

IList<IPropertyDescriptor^> ^ X3g::Plugin::IPropertyCallbacks::GetProperties ( )

Returns collection of property descriptions which are implemented by these callbacks.

PropertyState X3g::Plugin::IPropertyCallbacks::GetPropertyState ( System::String^  pKey)

Returns state of property with given key.

PropertyValue ^ X3g::Plugin::IPropertyCallbacks::GetPropertyValue ( System::String^  pKey)

Returns value of property with given key.

void X3g::Plugin::IPropertyCallbacks::SetPropertyValue ( System::String^  pKey,
PropertyValue pValue 
)

Sets value of property with given key.