Skip to main content

%DeepSee.UI.Dialog.ShowQuery

Class %DeepSee.UI.Dialog.ShowQuery Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog displays the current MDX query for the Analyzer.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");

Cube name.

mdx

Property mdx As %ZEN.Datatype.string(ZENURL = "MDX");

Query text.

nonce

Property nonce As %ZEN.Datatype.integer(ZENURL = "NONCE");

manualMode

Property manualMode As %ZEN.Datatype.boolean(ZENURL = "MANUAL");

Query in manual mode?

listingName

Property listingName As %ZEN.Datatype.string(ZENURL = "LISTINGNAME");

Listing name.

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]

This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

adjustSize

ClientMethod adjustSize() [ Language = javascript ]

Adjust size and position of components on this page.

setManual

ClientMethod setManual() [ Language = javascript ]

Set the behavior of the interactive fields based on the setting of the 'manual' checkBox. Calling this funciton after unchecking the box will regenerate the text from the current pivotTable definition using SynthesizeMDX.