2
"""Initialize the UI framework allowing convenient access to most common user interfaces
4
All classes of the ui submodules can be accessed by importing this package.
6
__docformat__ = "restructuredtext"
8
############################
10
#########################
12
if 'init_done' not in locals():
16
#{ Initialization Utilities
17
def force_type_creation():
18
"""Enforce the creation of all ui types - must be called once all custom types
20
from mrv.maya.util import StandinClass
21
for cls in globals().itervalues():
22
if isinstance( cls, StandinClass ):
25
# END for each stored type
27
#} END initialization utilities
32
typ.init_classhierarchy() # populate hierarchy DAG from cache
33
typ.initWrappers( ) # create wrappers for all classes
36
base._uidict = globals()
38
# assure we do not run several times
39
# import modules - this way we overwrite actual wrappers lateron
51
# automatic types need to be created in the end !