#NEWLINE# def main( ) : #NEWLINE# #INDENT# 'The main application is created and launched here.' #NEWLINE# plugins = [ CorePlugin ( ) , WorkbenchPlugin ( ) , MyPlugin ( ) , ScenePlugin ( ) , SceneUIPlugin ( ) , BrowserPlugin ( ) , PythonShellPlugin ( ) ] #NEWLINE# id = 'tvtk.examples.plugins.test' #NEWLINE# application = WorkbenchApplication ( id = plugins , plugins = plugins ) #NEWLINE# setup_logger ( logger , 'test.log' , mode = logging . DEBUG ) #NEWLINE# application . gui . on_trait_change ( ( lambda value : bind_object ( value , application ) ) , 'started' ) #NEWLINE# application . run ( )