CSPX.EnsDTLEditor
class CSPX.EnsDTLEditor extends CSPX.SVGEditor
Renders HTML wrapper for DTL editor as loaded by StudioMethod Inventory
- DrawInitDocument()
- DrawInitEditorFunction()
- GetDocument()
- GetSegments()
- GetTopSegments()
- OnDrawHTMLHead()
Parameters
parameter EDITORURL = CSPX.EnsDTLSVG.cls;
URL used to render editor
Methods
classmethod DrawInitDocument(pDocument As %RegisteredObject) as %Status
Write out initial xml state of document
classmethod DrawInitEditorFunction(pDocument As %RegisteredObject) as %Status
Give subclass opportunity to inject additional JS code
into the client-side initEditor function
classmethod GetDocument(pName As %String, Output pDocument As %RegisteredObject) as %Status
Find DTL transform (Ens.DTL.Transform) object for the given DTL class
classmethod GetSegments(pMode As %String, pClass As %String, pDocType As %String = "", pSegment As %String, pNodeAddr As %String = "")
Called from client to get list of subsegments
pNodeAddr is csv-list of id numbers
classmethod GetTopSegments(pMode As %String = "", pClass As %String = "", pDocType As %String = "", pDyn As %Boolean = 0, pPackage As %String = "")
Generate JS to populate list of top-level segment
classmethod OnDrawHTMLHead()
Draw any additional JS or other head section items
Inherited Members
Inherited Methods
- %ClassIsLatestVersion()
- %ClassName()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %New()
- %OriginalNamespace()
- %PackageName()
- %SetModified()
- ConvertParameter()
- Decrypt()
- DrawHTMLHead()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()