Skip to main content

%DeepSee.UI.Dialog.ReorderItems

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

This dialog lets the user reorder Dimensions or Measures.
The cube's javascript DOM is passed in.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

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

Cube 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.

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

When we get here, we want to get the cube object from Architect as a native javaScript object "opener" is a pointer to Architect "opener.zenPage" is _Architect's_ DOM

changeType

ClientMethod changeType(type) [ Language = javascript ]

User changed type to reorder. Show/hide associated list box.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

Return updated dataCube object to Architect.

moveItem

ClientMethod moveItem(dir) [ Language = javascript ]

User clicked the Move Up/Down image. Move the field up or down one level in the List box.
Switch data in dataCube as well. dir = "up" or "dn".

doSort

ClientMethod doSort(dir) [ Language = javascript ]

Sort list box alphabetically.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status