%DeepSee.UI.Dialog.CubeAddItem
Class %DeepSee.UI.Dialog.CubeAddItem Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog adds a new item (such as a dimension) to a DeepSee cube definition.
Can always add a new Measure;dataDimension;timeDimension
But if you want to add a hierarchy, you need to first click a dimension or hierarchy,
and if you want to add a new level, you need to first click a hierarchy or level;
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
cubeName
Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");
Cube name.
itemType
Property itemType As %ZEN.Datatype.string(ZENURL = "TYPE") [ InitialExpression = "measure" ];
Item type.
selectedClass
Property selectedClass As %ZEN.Datatype.string(ZENURL = "SELECTEDCLASS");
SELECTEDCLASS
newItemCounter
Property newItemCounter As %ZEN.Datatype.string(ZENURL = "NEWITEMCOUNTER");
userChangedName
Property userChangedName As %ZEN.Datatype.boolean [ InitialExpression = "0" ];
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.
changeType
ClientMethod changeType() [ Language = javascript ]
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
loadDimension
ClientMethod loadDimension() [ Language = javascript ]
selectedDim
ClientMethod selectedDim(ctrl) [ 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.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
LoadSharesFromCubes
Method LoadSharesFromCubes() As %String
Return cube list for SharesFrom cube drop-down
onloadHandler
ClientMethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.