Maia\Builder
CLASS BuildRibbon

CLASS dotr.Maia.Builder.BuildRibbon INHERITS Basic

Maia ribbon builder

extends the basic builder to add methods to build a ribbon class from the BaseRibbon.cls template provided
Author:
Julian Lyndon-Smith (julian+maia@dotr.com)

Method Summary
CONSTRUCTOR (ObjectConfig p_ObjectConfig)
           create directory structure if required
LONGCHAR StartBuild (LONGCHAR p_Data)
           inject generator code into the template
 

Method Detail

CONSTRUCTOR

CONSTRUCTOR(ObjectConfig p_ObjectConfig)
create directory structure if required


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