Package gnue :: Package designer :: Package base :: Module TemplateBase
[show private | hide private]

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 :)

Classes
TemplateBase  
WizardInput  
WizardItem  
WizardText  

Exceptions
InsufficientInformation  

Variable Summary
str __revision__ = '$Id: TemplateBase.py 9850 2008-01-03 17:...
int TEMPLATE = 0                                                                     
int WIZARD = 1                                                                     

Variable Details

__revision__

Type:
str
Value:
'$Id: TemplateBase.py 9850 2008-01-03 17:21:25Z jcater $'              

TEMPLATE

Type:
int
Value:
0                                                                     

WIZARD

Type:
int
Value:
1                                                                     


GNUe Home

Private API

Developer's Corner