%DeepSee.UI.Dialog.CubeAdd
Class %DeepSee.UI.Dialog.CubeAdd Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user Add a new DeepSee cube or subject area definition.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
mode
Property mode As %ZEN.Datatype.string(ZENURL = "MODE") [ InitialExpression = "cube" ];
possibly use this to indicate adding cube or dimension?
cubeName
Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");
Cube name.
msgCube
Property msgCube As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Cube Name.")} ];
msgSub
Property msgSub As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Subject Area Name.")} ];
msgClass
Property msgClass As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Class Name for the Cube.")} ];
msgSAClass
Property msgSAClass As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Class Name for the Subject Area.")} ];
msgSourceClass
Property msgSourceClass As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Source Class.")} ];
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.
nameChanged
ClientMethod nameChanged(cubeName) [ Language = javascript ]
User modified cubeName. Default it to other names if they have not been set.
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
changeType
ClientMethod changeType() [ Language = javascript ]
User changed definition type
changeSourceType
ClientMethod changeSourceType() [ Language = javascript ]
Execute the selection of the cube source radio button.
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.
IsValidCubeName
ClassMethod IsValidCubeName(pCubeName As %String) As %Boolean [ ZenMethod ]
Test if the given cube name is valid.
TrimSpaces
ClassMethod TrimSpaces(pName As %String) As %String [ ZenMethod ]
Remove spaces inside a string.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
browseClass
ClientMethod browseClass(popupName) [ Language = javascript ]
Invoke class finder dialog. popupName="sourceclasses" or "cubes"
onPopupAction
ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
SaveData
ClassMethod SaveData(Type, cubeName, className, sourceClass, description, displayName, filterSpec, baseCube, cubeSourceType) As %String [ ZenMethod ]
Save general association data to server and compile.
onloadHandler
ClientMethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.