Skip to main content

%ZEN.Template.PageGenerator

deprecated abstract class %ZEN.Template.PageGenerator

This utility class is used by the ZEN Page Wizard to generate new page class definitions.

Method Inventory

Parameters

parameter DOMAIN = %ZEN;
Localization domain.

Methods

classmethod %GetCaption() as %String
Return caption displayed by Wizard for this Page Generator.
classmethod %RenderSVGIcon(pID As %String) as %Status
Draw the SVG icon displayed within the PageWizard.
This should return a set of JS statements that will create a set of SVG elements. These elements should be placed within an SVG container called theGroup.
pID is the id that should be assigned to the background SVG element so that mouse handling and highlighting will work.
classmethod %WriteMethods(pInfo As %ZEN.Template.PageGeneratorInfo) as %Status
Write out method definitions for this page.
pInfo includes information about the class to be created.
classmethod %WriteXDATAContents(pInfo As %ZEN.Template.PageGeneratorInfo) as %Status
Write out the contents of the XDATA Contents block for this page.
pInfo includes information about the class to be created.
classmethod %WriteXDATAStyle(pInfo As %ZEN.Template.PageGeneratorInfo) as %Status
Write out the contents of the XDATA Style block for this page.
pInfo includes information about the class to be created.

Subclasses

FeedbackOpens in a new tab