parameters: (self, element_name)
return_statement: return display_handler
docstring: for the display handler, go through each config file and
          look for a definition.  Each config file may also have a "definition"
          view as well.
docstring_summary: for the display handler, go through each config file and
          look for a definition.  Each config file may also have a "definition"
          view as well.
docstring_tokens: for the display handler go through each config file and look for a definition . Each config file may also have a definition view as well .
function: def get_display_handler(self, element_name):
          '''for the display handler, go through each config file and
          look for a definition.  Each config file may also have a "definition"
          view as well.'''
          assert element_name
  
          # we have a list of configs ... go through each to find the element
          display_handler = ""
          for config in self.configs:
              display_handler = config.get_display_handler(element_name)
              if display_handler:
                  break
  
          if not display_handler:
              layout = self.get_layout_handler()
  
              import_expr = Common.get_import_from_class_path(layout)
              exec( import_expr)
              display_handler = eval('%s.get_default_display_handler(element_name)'% layout)
  
          return display_handler
function_tokens: def get_display_handler ( self , element_name ) : assert element_name # we have a list of configs ... go through each to find the element display_handler = "" for config in self . configs : display_handler = config . get_display_handler ( element_name ) if display_handler : break if not display_handler : layout = self . get_layout_handler ( ) import_expr = Common . get_import_from_class_path ( layout ) exec ( import_expr ) display_handler = eval ( '%s.get_default_display_handler(element_name)' % layout ) return display_handler