class apptools.core.LogInfoPane
extends %CSP.Util.Pane
parameter XMLTYPE = "apptools.core";
This parameter provides the default XMLTYPE for the class. If it is
empty then the class name will be used to construct a default XML type.
The default XMLTYPE is used when naming and referencing this type
in a schema and the schema context did not provide an XML type name.
parameter version = "1.0.24";
classmethod AddAction(nameElem="NSP,MaxNode,Filtr,Next,WHAT,tWHAT,exportXLS,exportXLSfile,exportXLSfileEmail,selectDSN,SDNum")
/*! \example d ##class(apptools.core.LogInfoPane)AddAction()*/
classmethod AddC1310(a)
d ##class(apptools.core.LogInfoPane).AddC1310("")
classmethod AddClassId(classname, id, ByRef str, NSpace="")
as %String
Add an active link to view a class instance.
classmethod AddClassRef(class, ByRef str, NSpace="")
as %String
Add an active link to view the class description.
classmethod AddExecute(Execute, data, col, NSpace="", ByRef countEx)
as %String
Add an active link for the terminal
classmethod AddHistory(what, NSpace, DSN, MaxNode, Next, Filtr)
as %Status
Add command history
classmethod AddJS(ns="", class="")
add javascript
/// /*! \example do ##class(apptools.core.LogInfoPane).AddJS("MSW")*/
classmethod AddJScopyToClipboard()
add javascript
/// /*! \example do ##class(apptools.core.LogInfoPane).AddJScopyToClipboard()*/
classmethod AddJsScripts(mode)
Add libraries and functions js to the panel
write ##class(apptools.core.LogInfoPane).AddJsScripts()
classmethod AddProdQuery(SDNum, csp="csp")
/*! \example ##class(apptools.core.LogInfoPane).AddProdQuery() */
classmethod AddRefViewEditGlob(Val, Col, Head, Temp, nspace, divId="")
Generate active links for viewing and editing globals
classmethod AddStyle()
add javascript
/// /*! \example d ##class(apptools.core.LogInfoPane).AddStyle()*/
classmethod CloseXLSfile(fileXLS, ByRef exportXLSfileEmail, ByRef exportXLSfile, io, count, msg, SQL)
as %Status
Close file XLS
classmethod DrawArray(gn As %String = "", MaxNode=$$$MAXSHOW, NSpace="", Next="1", msg="", exp="", Filtr="", Execute="", fileXLS="")
as %Status
Output a list of array elements
set st=##class(apptools.core.LogInfoPane).DrawArray(res,100,$Namespace,"Output a list 1111")
method DrawBODY(pInstance As PageInstance)
as %Status
Drawing the form to enter information
classmethod DrawGN(a, print=1, ByRef result)
do ##class(apptools.core.LogInfoPane).DrawGN(a)
do ##class(apptools.core.LogInfoPane).DrawGN($lb("^tmp**",1000,$namespace,1),0,.res) zwrite @res ;get list global directory with allocations blocks
method DrawHEAD(pInstance As PageInstance)
as %Status
Add libraries and functions js to the panel
classmethod DrawHelp(Val, Col, Head, Temp, nspace, DSN)
code for ison when outputting arrays
classmethod DrawNodeGN(node As %String = "", val As %String = "", ByRef count, job="", gn, NSpace="", Execute="")
as %Status
Drawing the global node
classmethod DrawSQL(SQL As %String = "", MaxNode=$$$MAXSHOW, NSpace="", msg="", Execute="", fileXLS="", Mode="", FiltrRow="")
as %Status
Query table output
fileXLS - list of parameters for uploading to Excel and sending by mail
$lg(fileXLS,1) =1 flag
s exportXLSfileEmail=$lg(fileXLS,3) - parcel addresses separated by commas, to which to send the file
s exportXLSfile=$lg(fileXLS,2) - full path to the file where to write the table
mode=1 - not included number colomn
d ##class(apptools.core.LogInfoPane).DrawSQL("query %SYS.GlobalQuery:NameSpaceList %SYS %S*",10000,$namespace," ")
classmethod ExportProjects(Dir, files)
as %Status
classmethod GetClassDef(aClassName As %String = "", doc, ByRef out, inSuper=1, mode="1111")
/*! \brief Parse class description into methods and properties
\ingroup class_definition
\example d ##class(apptools.core.LogInfoPane).GetClassDef("utils.Log","",.out) */
classmethod GetCodeExtensionNamespace(Node, ByRef code)
as %Status
do ##class(apptools.core.LogInfoPane).GetCodeExtensionNamespace("ShowGlobals^log**",.code)
classmethod GetCopyToClipboard(text, id="g2", color="Lightgreen")
write ##class(apptools.core.LogInfoPane).GetCopyToClipboard(text,id="g2",color="Lightgreen")
classmethod GetHelp(help, ignor=0)
classmethod GetLink()
classmethod GetPathStack()
as %String
Get call stack
classmethod GetSysinfo(color, code="")
as %String
d ##class(apptools.core.LogInfoPane).GetSysinfo()
classmethod GetValueObj(obj, in, out)
/*! \brief The method implements getting values
\defgroup class_definition Class definition
\ingroup class_definition
\param in - class property description
\param out - result of values
\example d ##class(apptools.core.LogInfoPane).GetClassDef(classname,Obj,.out)
d ##class(apptools.core.LogInfoPane).GetValueObj(Obj,.out,.res) */
classmethod Init(username=$username, fio="DEV")
The method initializes the developer in the system
/// /*! \example d ##class(apptools.core.LogInfoPane).Init(,"MSW")*/
classmethod ListExtensionNamespace(write=1, ByRef list)
do ##class(apptools.core.LogInfoPane).ListExtensionNamespace(0,.list)
classmethod ListExtensionProjects()
classmethod OpenXLSfile(fileXLS, ByRef exportXLSfileEmail, ByRef exportXLSfile, io)
as %Status
Open file XLS
classmethod ShowCell(str, NSpace="")
as %String
Cell drawing
classmethod WinOpenEditNode(Par)
as %String
Win Open Edit Node
classmethod WinOpenNodeSaveOrKill(Par)
as %String
WinOpenNodeSaveOrKill
classmethod getNode(ByRef node, gn, NSpace="")
as %Status
Get global node