Synopsis - Synopsis.Formatters.HTML.Views.FileListing.FileListing

module Synopsis.Formatters.HTML.Views.FileListing
class FileListing
File: ../Synopsis/Formatters/HTML/Views/FileListing.py
A view that creates an index of files, and an index for each file. First the index of files is created, intended for the top-left frame. Second a view is created for each file, listing the major declarations for that file, eg: classes, global functions, namespaces, etc.
Protected Methods Summary:
_node_sorter(self, a, b)
Methods Summary:
filename(self)
title(self)
root(self)
register_filenames(self)
Registers a view for each file indexed.
process(self)
process_file_tree_node(self, node)
Creates a portion of the tree for the given file node.
Protected Methods Details:
_node_sorter(self, a, b)
Compares file nodes a and b depending on whether they are leaves or not
Methods Details:
register_filenames(self)
Registers a view for each file indexed.
process(self)
Creates the listing using the recursive process_file_tree_node method
process_file_tree_node(self, node)
Creates a portion of the tree for the given file node. This method assumes that the file is already in progress, and just appends to it. This method is recursive, calling itself for each child of node (file or directory).
Generated on Thu Apr 16 16:27:10 2009 by
synopsis (version devel)