class %DeepSee.UI.Dialog.WidgetWizard
extends %DeepSee.UI.Dialog.standardDialog
This dialog creates a new widget for a dashboard.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
method %OnAfterCreatePage()
as %Status
Apply changes to page.
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.
method AddWidgetToDashboard(pDashboardName As %String, pWidgetName As %String, pInfo As %ZEN.proxyObject, pPreview As %Boolean = 0)
as %String
[ ZenMethod ]
Add a widget to the given dashboard definition.
If pPreview, then save to the private preview dashboard.
classmethod GetWidgetInfo(pKey As %String, pInfo As %ZEN.proxyObject)
as %String
[ ZenMethod ]
Get info on the selected widget.
method GetWidgetTypeList(ByRef pParameters, Output pMetaData, Output pData)
as %Status
Return JSON array of widget types.
method adjustSize()
[ Language = javascript ]
Adjust size and position of components on this page.
method browseDataSources()
[ Language = javascript ]
Launch the data source finder.
method browseDrillDataSources()
[ Language = javascript ]
Launch the data source finder.
method chooseDataSource(id)
[ Language = javascript ]
Show data source finder for widget property control
method clearDataSource()
[ Language = javascript ]
Clear the data source.
If there is a local override, first clear it and restore the original value.
method clearDrillDataSource()
[ Language = javascript ]
Clear the data source.
method dataSourceChange()
[ Language = javascript ]
User edit of dataSource.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method loadKPI()
[ Language = javascript ]
Launch the KPI finder dialog.
method loadPivot()
[ Language = javascript ]
Launch the pivot finder dialog.
method loadWorksheet()
[ Language = javascript ]
Launch the worksheet finder dialog.
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 selectWidgetType(key)
[ Language = javascript ]
User selected a widget type.