class %DeepSee.Report.UI.queryItemEditor
extends %ZEN.Component.composite
Item Editor
This is the master display panel for the query item editor that allows
the user to inject additional items into the generated DeepSee report
data collector classes at run time
parameter DEFAULTDELETEICON = "deepsee/close_a_16.png";
parameter INCLUDEFILES = "zenCSLM.js";
CSV list of additional include files (either .js or .css) that
should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an
item in the list is a script include or a style include. You can override
this behavior by adding the terms "script:" or "style:" to the beginning of
the file name or names. This prefix is not used as part of the include filename.
property iconDelete
as %ZEN.Datatype.uri [ InitialExpression = ..#DEFAULTDELETEICON ];
URI of image to display for the delete button.
method DrawItemHeader(pSeed As %String)
as %Status
Draw the contents of the Item Header (the region above the table of known properties).
method addNewItem()
[ Language = javascript ]
Add a new property edit line to the table
method clear()
[ Language = javascript ]
Reset the table
method deleteDynamicCSSRule(className, triggerStr)
[ Language = javascript ]
method deleteLine(idx)
[ Language = javascript ]
Delete a given line from the table and update the underlying model
method generateSelectControls(vList, ctx, baseId)
[ Language = javascript ]
method getModel()
[ Language = javascript ]
Get the current model
method insertCSSRule(className, styleStr)
[ Language = javascript ]
method isUniqueName(name, exemptIdx)
[ Language = javascript ]
Check the given name against all known names in the model with the exception
of exemptIdx. Return true is the name is unique, false otherwise. Note that
this check is not case sensitive
method makeUniqueName(root)
[ Language = javascript ]
Given a base root for a name, return a unique property name based on that
root and made unique by the addition of a numeric suffix if required.
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.
method populateLine(pObj)
[ Language = javascript ]
Add a new edit line to the table and pre-poplate it from a model object
method restoreModel(m, context)
[ Language = javascript ]
Populate the table with data from the given model
method sizeColumns()
[ Language = javascript ]
method syncLine(idx)
[ Language = javascript ]
Synchronize a given line of the table with a model property object
method syncModel()
[ Language = javascript ]
Synchronize the underlying model with the currently displayed values
method syncSelectControl(baseId, lst)
[ Language = javascript ]
method updateLine(idx, pObj)
[ Language = javascript ]