mrv :: maya :: ui :: typ :: MetaClassCreatorUI :: Class MetaClassCreatorUI
[hide private]
[frames] | no frames]

Type MetaClassCreatorUI

source code

       object --+        
                |        
             type --+    
                    |    
util.MetaClassCreator --+
                        |
                       MetaClassCreatorUI

Builds the base hierarchy for the given classname based on our typetree. Additional support for :

AUTOMATIC PROPERTY GENERATION:
AUTOMATIC UI-EVENT GENERATION:
ADDITIONAL CONFIGURAITON:
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(metacls, name, bases, clsdict)
Called to create the class with name
source code

Inherited from type: __call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  melcmd_attrname = '__melcmd__'
Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __instancecheck__, __itemsize__, __mro__, __name__, __subclasscheck__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__new__(metacls, name, bases, clsdict)

source code 
Called to create the class with name
Parameters:
  • dagtree - mrv.util.DAGTree instance with hierarchy information
  • module - the module instance to which to add the new classes to
  • nameToTreeFunc - convert the class name to a name suitable for dagTree look-up
  • treeToNameFunc - convert a value from the dag tree into a valid class name ( used for parent lookup )
Returns: a new object with type S, a subtype of T
Overrides: object.__new__