class %DeepSee.UI.Dialog.DashboardSave
extends %DeepSee.UI.Dialog.standardDialog
This dialog lets the user save a DeepSee Dashboard definition.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
property createNew
as %ZEN.Datatype.boolean(ZENURL="NEW");
True if this is a "create new".
property dashboardDescription
as %ZEN.Datatype.string(MAXLEN=32000,ZENURL="DESC");
Description.
property dashboardGridCols
as %ZEN.Datatype.integer(ZENURL="GRIDCOLS") [ InitialExpression = 2 ];
Dashboard grid columns.
property dashboardGridRows
as %ZEN.Datatype.integer(ZENURL="GRIDROWS") [ InitialExpression = 2 ];
Dashboard grid rows.
property dashboardKeywords
as %ZEN.Datatype.string(ZENURL="WORDS");
Dashboard keywords.
property dashboardLayout
as %ZEN.Datatype.integer(ZENURL="LAYOUT") [ InitialExpression = 2 ];
Dashboard layout (number of workboxes).
property dashboardLocked
as %ZEN.Datatype.boolean(ZENURL="LOCKED") [ InitialExpression = 0 ];
Dashboard locked state.
property dashboardModify
as %ZEN.Datatype.boolean(ZENURL="MODIFY") [ InitialExpression = 1 ];
Dashboard Modify.
property dashboardName
as %ZEN.Datatype.string(ZENURL="DASHBOARD");
Dashboard name.
property dashboardOwner
as %ZEN.Datatype.string(ZENURL="OWNER");
Dashboard owner.
property dashboardPublic
as %ZEN.Datatype.boolean(ZENURL="PUBLIC") [ InitialExpression = 1 ];
Dashboard public state.
property dashboardResize
as %ZEN.Datatype.boolean(ZENURL="RESIZE") [ InitialExpression = 1 ];
Dashboard Resize.
property dashboardResource
as %ZEN.Datatype.string(ZENURL="RESOURCE");
Dashboard resource.
property dashboardSnapGrid
as %ZEN.Datatype.boolean(ZENURL="SNAPGRID") [ InitialExpression = 0 ];
Dashboard snapGrid.
property dashboardSnapTo
as %ZEN.Datatype.boolean(ZENURL="SNAPTO") [ InitialExpression = 1 ];
Dashboard snapTo.
property dashboardTitle
as %ZEN.Datatype.string(ZENURL="TITLE");
Dashboard title.
property saveAs
as %ZEN.Datatype.boolean(ZENURL="SAVEAS");
True if this is a "save as".
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 DashboardExists(pName As %String)
as %Integer
[ ZenMethod ]
Test if the given dashboard already exists.
method DrawIcons(pSeed As %String)
as %Status
Draw contents of chart icon box.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
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 selectLayout(type)
[ Language = javascript ]
Click on a new layout type.
method updateGridControls()
[ Language = javascript ]
Update state of the grid alignment controls.