Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya.AttributeEditorControl Class Reference

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...
 

Detailed Description

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" )

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


The documentation for this class was generated from the following file: