Maia\Builder
CLASS BuildUpdate

CLASS dotr.Maia.Builder.BuildUpdate INHERITS Basic

builder for the update screens for an object

2 classes are created, one for the base which contains all the update and assign statements and one that inherits the base so that visual customizations can be implemented
Author:
Julian Lyndon-Smith (julian+maia@dotr.com)

Field Summary
INTEGER NumFields PROTECTED
           
 

Method Summary
CONSTRUCTOR (ObjectConfig p_ObjectConfig)
           
LONGCHAR StartBuild (LONGCHAR p_Data)
           inject generator code into the template
 

Field Detail

NumFields

INTEGER PROTECTED

Method Detail

CONSTRUCTOR

CONSTRUCTOR(ObjectConfig p_ObjectConfig)

StartBuild

PUBLIC OVERRIDE LONGCHAR StartBuild(LONGCHAR p_Data)
inject generator code into the template

any code manually placed in the initializecomponents method is overwritten this method takes the template, looks for the appropriate places and injects generator code into the template, after it has been read from disk this makes sure that no code is lost if the template is loaded into the visual designer
Parameters:
p_Data - : code for the template
Returns:
longchar : the modified template