def install_all_labels(stdout=None):
if not stdout:<EOL><INDENT>stdout = sys.stdout<EOL><DEDENT>def subsub(kls):  <EOL><INDENT>return kls.__subclasses__() + [g for s in kls.__subclasses__() for g in subsub(s)]<EOL><DEDENT>stdout.write("<STR_LIT>")<EOL>i = <NUM_LIT:0><EOL>for cls in subsub(StructuredNode):<EOL><INDENT>stdout.write('<STR_LIT>'.format(cls.__module__, cls.__name__))<EOL>install_labels(cls, quiet=False, stdout=stdout)<EOL>i += <NUM_LIT:1><EOL><DEDENT>if i:<EOL><INDENT>stdout.write('<STR_LIT:\n>')<EOL><DEDENT>stdout.write('<STR_LIT>'.format(i))<EOL>
Discover all subclasses of StructuredNode in your application and execute install_labels on each.
Note: code most be loaded (imported) in order for a class to be discovered.

:param stdout: output stream
:return: None