Module gnue.designer.base.TemplateBase
Provides a base class for templates
Guidelines for writing templates:
Never, ever, EVER overwrite the __init__ method.
However, you can overwrite the Start method which
is called when your template should do its trick.
Anything normally occurring in an __init__ can
occur at the beginning of Start.
You can be guaranteed to have an empty <form|report>
object passed to the Start method. If you successfully
created your object, you should return a TRUE value in
GetFinal. Otherwise, return False. If a TRUE value is
returned, Designer assumes that the passed <Form|Report>
object now contains a valid object.
NOTE: It is VERY important that in any reference to a
"<insert type here> wizard", the word "wizard" must be
in lower case, as many "Xyz Wizards" (proper name) have
been trademarked. (No, I'm not kidding :)
__revision__
-
- Type:
-
str
- Value:
'$Id: TemplateBase.py 9850 2008-01-03 17:21:25Z jcater $'
|
|
TEMPLATE
-
- Type:
-
int
- Value:
|