class %ZEN.StudioDocument.ZENPageEditor
extends %ZEN.StudioDocument.AbstractEditor
Editor logic for a Zen Page Studio Document.
This is a Zen Page class.
parameter DOMAIN = "%ZEN";
Localization domain
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.
method DrawHTMLContent(seed As %ZEN.Datatype.string)
as %Status
DrawHTMLContent
method getComponentXML(obj)
[ Language = javascript ]
method getTargetPage()
[ Language = javascript ]
Return the target page loaded within this editor.
method onCreate()
[ Language = javascript ]
This client event, if present, is called when this component is
instantiated. This allows for any additional client-side
initialization for this object.
Note that this must be a client-side method.
method onSetDocument(state)
[ Language = javascript ]
Notification that the user has changed the XML version of this
document.
state is the contents of the XML editor pane.
method onSetProperty(prop, value)
[ Language = javascript ]
User has changed a property value within the Inspector.
method onStartEditor()
[ Language = javascript ]
This client event, if present, is fired when editor is loaded.
method selectComponent(page, obj, evt)
[ Language = javascript ]
User has selected a component in the editor pane.
method updateInspector()
[ Language = javascript ]
Update the inspector with details on the selected component.