Home | Trees | Index | Help |
|
---|
Package Modeling :: Package ModelMasons :: Module CMFModelMason :: Class CMFModelMason |
|
ModelMason
--+
|
CMFModelMason
Method Summary | |
---|---|
Initializes the ModelMason so that the built files are based on the supplied model. | |
| |
Overrides ModelMason implementation so that the namespace passed to the Template object contains: self, an Entity, a Model and a Relationship | |
Inherited from ModelMason | |
Creates all the necessary directories for the package, which can be something like A.B.C.MyPackage. | |
Copy the template file to the destination file, unchanged. | |
Create the empty file 'filename' ; the filename is a relative path (relative to 'self.productBaseDirectory()') | |
Parameters: | |
Returns a list of list of entities, where Entities in the same list share the same 'moduleName' | |
Internally used to make any values in the namespace callable --if a value is an instance or a python object, it is by a lambda function returning the value. | |
Returns the full path for a given brick's filename. | |
Returns the full path for a given generated filename. | |
Logs the msg to stderr if self.verbose_mode is true | |
Initializes a Template object from the supplied templateFile. | |
This method returns a dictionary used by templates to search for specific values. |
Class Variable Summary | |
---|---|
Inherited from ModelMason | |
list |
_marker = []
|
Method Details |
---|
__init__(self,
model,
rootPath=None)
Initializes the ModelMason so that the built files are based on the
supplied model. Parameter 'rootPath' specifies where the files will be
placed ; if not supplied, the Mason will default to the Zope's 'Products'
folder.
|
build(self) |
templateObjectForFile(self, templateFile)Overrides ModelMason implementation so that the namespace passed to the Template object contains: self, an Entity, a Model and a Relationship |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 | http://epydoc.sf.net |