parameters: ()
return_statement: return filters
docstring: Generates a list of file filters
      @return: list of all file filters based on extension associations
docstring_summary: Generates a list of file filters
      @return: list of all file filters based on extension associations
docstring_tokens: Generates a list of file filters @return : list of all file filters based on extension associations
function: def GenFileFilters():
      """Generates a list of file filters
      @return: list of all file filters based on extension associations
  
      """
      extreg = ExtensionRegister()
      # Convert extension list into a formatted string
      f_dict = dict()
      for key, val in extreg.iteritems():
          val.sort()
          if key.lower() == 'makefile':
              continue
  
          f_dict[key] = u";*." + u";*.".join(val)
  
      # Build the final list of properly formatted strings
      filters = list()
      for key in f_dict:
          tmp = u" (%s)|%s|" % (f_dict[key][1:], f_dict[key][1:])
          filters.append(key + tmp)
      filters.sort(key=unicode.lower)
      filters.insert(0, u"All Files (*)|*|")
      filters[-1] = filters[-1][:-1] # IMPORTANT trim last '|' from item in list
      return filters
function_tokens: def GenFileFilters ( ) : extreg = ExtensionRegister ( ) # Convert extension list into a formatted string f_dict = dict ( ) for key , val in extreg . iteritems ( ) : val . sort ( ) if key . lower ( ) == 'makefile' : continue f_dict [ key ] = u";*." + u";*." . join ( val ) # Build the final list of properly formatted strings filters = list ( ) for key in f_dict : tmp = u" (%s)|%s|" % ( f_dict [ key ] [ 1 : ] , f_dict [ key ] [ 1 : ] ) filters . append ( key + tmp ) filters . sort ( key = unicode . lower ) filters . insert ( 0 , u"All Files (*)|*|" ) filters [ - 1 ] = filters [ - 1 ] [ : - 1 ] # IMPORTANT trim last '|' from item in list return filters