Cortex
10.0.0-a4
|
A base class to help in creating custom attribute editor controls in a nice object oriented manner. More...
Public Member Functions | |
def | __init__ (self, attribute) |
Derived classes should first call the base class init, before building their ui. More... | |
def | replace (self, attribute) |
Derived classes should first call the base class replace, before reattaching their ui to the new attribute. More... | |
def | nodeName (self) |
Returns the name of the node this ui is used for. More... | |
def | attributeName (self) |
Returns the name of the attribute this ui is used for. More... | |
A base class to help in creating custom attribute editor controls in a nice object oriented manner.
After deriving from this class you can instantiate a control from an attribute editor template using mel of the following form :
ieAttributeEditorControl( "DerivedClassName", "attributeName" )
def IECoreMaya.AttributeEditorControl.__init__ | ( | self, | |
attribute | |||
) |
Derived classes should first call the base class init, before building their ui.
References IECoreMaya.AttributeEditorControl.__attributeName, and IECoreMaya.AttributeEditorControl.__nodeName.
def IECoreMaya.AttributeEditorControl.attributeName | ( | self | ) |
Returns the name of the attribute this ui is used for.
References IECoreMaya.AttributeEditorControl.__attributeName.
def IECoreMaya.AttributeEditorControl.nodeName | ( | self | ) |
Returns the name of the node this ui is used for.
References IECoreMaya.AttributeEditorControl.__nodeName.
def IECoreMaya.AttributeEditorControl.replace | ( | self, | |
attribute | |||
) |
Derived classes should first call the base class replace, before reattaching their ui to the new attribute.
References IECoreMaya.AttributeEditorControl.__attributeName, and IECoreMaya.AttributeEditorControl.__nodeName.