Skip to main content

%ZEN.StudioDocument.ZENAppEditor

Class %ZEN.StudioDocument.ZENAppEditor Extends %ZEN.StudioDocument.AbstractEditor [ Deprecated, System = 4 ]

Editor logic for a Zen Application Studio Document.

Parameters

DOMAIN

Parameter DOMAIN = "%ZEN";

XDatas

Style

XData Style

Contents

XData Contents

Contents of application editor page;

Methods

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.

DrawHTMLTitle

Method DrawHTMLTitle(seed As %ZEN.Datatype.string) As %Status

DrawHTMLTitle for title bar.

DrawHTMLContent

Method DrawHTMLContent(seed As %ZEN.Datatype.string) As %Status

DrawHTMLContent for page list.

openPage

ClientMethod openPage(page) [ Language = javascript ]

openPage: Open a Studio window for the given page.

selectPage

ClientMethod selectPage(page) [ Language = javascript ]

selectPage: Point navigator to this page.

selectNode

ClientMethod selectNode(nav) [ Language = javascript ]

User click on node within Navigator.

UpdateNav

ClassMethod UpdateNav(appName As %String, page As %String, nav As %ZEN.SVGComponent.radialNavigator) As %Boolean [ ZenMethod ]

Rebuild the array of nodes used by the Navigator to show pages linked page.

onlayoutHandler

ClientMethod onlayoutHandler(load) [ Language = javascript ]

This client event, if present, is fired when the page is first loaded or whenever it is resized.
If this is called at load time, then load will be true.