Skip to main content

%DeepSee.UI.Dialog.CubeCompile

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

This dialog compiles a DeepSee cube definition and displays the output.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

mode

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

Dialog mode:
"compilecube" -- save a cube. "compilesub" -- compile a subjectarea.

cubeClass

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

Cube class name.

cubeName

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

Cube name.

status

Property status As %ZEN.Datatype.string;

Compile status

trackingId

Property trackingId As %ZEN.Datatype.integer;

Compile tracking ID

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 ]

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

compile

ClientMethod compile() [ Language = javascript ]

Start the compile

onresizeHandler

ClientMethod onresizeHandler() [ Language = javascript ]

This client event, if present, is fired when the page is resized.

timeout

ClientMethod timeout() [ Language = javascript ]

Check compile status periodically.

CheckStatus

ClassMethod CheckStatus(pCubeClass, pTrackingId) As %String [ ZenMethod ]

ondialogFinish

ClientMethod ondialogFinish(action) [ 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.