class %DeepSee.UI.Dialog.Analyzer
extends %DeepSee.UI.Dialog.standardDialog
Special version of the analyzer that runs within a dialog.
This is displayed when a user uses the Analyze option in a widget.
This is a Zen Page class.
parameter APPLYBUTTON = 1;
If true, then this dialog displays an Apply button.
parameter DEFAULTVIEWMODE = "pivot";
If this page has multiple views, this is its initial display mode.
property cubeName
as %ZEN.Datatype.string(ZENURL="CUBE");
Name of cube to explore.
property currViewMode
as %ZEN.Datatype.string [ InitialExpression = ..#DEFAULTVIEWMODE ];
If this page has "views", this is the current view type.
property filterState
as %ZEN.Datatype.string(MAXLEN=5000,ZENURL="FILTERSTATE");
If provided, state of filters on widget that launched this dialog.
property localPivotName
as %ZEN.Datatype.string(ZENURL="LOCALNAME");
If provided, use this name to save the pivot.
property pivotDescription
as %ZEN.Datatype.string;
Description of the saved pivot (if any).
property pivotKeywords
as %ZEN.Datatype.string;
Keywords of the saved pivot (if any).
property pivotName
as %ZEN.Datatype.string(ZENURL="PIVOT");
Name of saved pivotTable to view (overrides CUBE if present).
property resetData
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, reset the data source when the dialog is applied.
property widgetKey
as %ZEN.Datatype.string(ZENURL="KEY");
Key (within its dashboard) of widget that launched this dialog.
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 %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
classmethod GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms)
as %Status
Provide contents of the dimension tree.
method SavePivotTable(pResetData As %Boolean = 0)
as %String
[ ZenMethod ]
Save the pivot table.
classmethod UpdateFilterControls(pCubeName As %String, pGroup As %ZEN.Component.group, pPivotTable As %DeepSee.Component.pivotTable)
as %String
[ ZenMethod ]
Called from client to update list of filters.
method adjustSize()
[ Language = javascript ]
Adjust sizes of analyzer components on the page.
method filterChangeHandler(ctrl, filterNo)
[ Language = javascript ]
User has changed a filter control value.
method filterDropDown(ctrl)
[ Language = javascript ]
Drop down is about to appear for filter control.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method getPivot()
[ Language = javascript ]
Return the current pivot table.
method onPopupAction(popupName, action, value)
[ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
method 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.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method resetLocalDataSource()
[ Language = javascript ]
Reset the local data source for our widget.
method showFormatOptions()
[ Language = javascript ]
Launch the cell format options dialog.
method showPivotOptions()
[ Language = javascript ]
Launch the pivot options dialog.
method showQuery()
[ Language = javascript ]
Launch the show query dialog.
method treeDoubleClick(tree)
[ Language = javascript ]
User has double-clicked on an element in the tree control.
This is copied from the same method in the main Analyzer page.