Skip to main content

%DeepSee.UI.Dialog.CubeSave

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

This dialog lets the user save a DeepSee cube definition.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

mode

Property mode As %ZEN.Datatype.string(ZENURL = "MODE") [ InitialExpression = "savecube" ];

Dialog mode:
"savecube" -- save a cube. "savesub" -- save a subjectarea.

cubeClass

Property cubeClass As %ZEN.Datatype.string(ZENURL = "CLASS");

Cube class name.

cubeDescription

Property cubeDescription As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "DESC");

Cube class description.

cubeName

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

Cube name or Subjectarea 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.

IsValidClassName

ClassMethod IsValidClassName(pClassName As %String) As %Boolean [ ZenMethod ]

Test if the given class name is valid.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

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

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status