class %DeepSee.UI.Dialog.CubeAdd
extends %DeepSee.UI.Dialog.standardDialog
This dialog lets the user Add a new DeepSee cube or subject area definition.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
property cubeName
as %ZEN.Datatype.string(ZENURL="CUBE");
Cube name.
property mode
as %ZEN.Datatype.string(ZENURL="MODE") [ InitialExpression = "cube" ];
possibly use this to indicate adding cube or dimension?
property msgClass
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a valid Class Name for the Cube.") ];
property msgCube
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Cube Name.") ];
property msgSAClass
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a valid Class Name for the Subject Area.") ];
property msgSourceClass
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a valid Source Class.") ];
property msgSub
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Subject Area Name.") ];
method %OnAfterCreatePage()
as %Status
This callback is called after the server-side page
object and all of its children are created.
Subclasses can override this to add, remove, or modify
items within the page object model, or to provide values
for controls.
method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
classmethod IsValidClassName(pClassName As %String)
as %Boolean
[ ZenMethod ]
Test if the given class name is valid.
classmethod SaveData(Type, cubeName, className, sourceClass, description, displayName, filterSpec, baseCube)
as %String
[ ZenMethod ]
Save general association data to server and compile.
classmethod TrimSpaces(pName As %String)
as %String
[ ZenMethod ]
Remove spaces inside a string.
method browseClass(popupName)
[ Language = javascript ]
Invoke class finder dialog. popupName="sourceclasses" or "cubes"
method changeType()
[ Language = javascript ]
User changed definition type
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method nameChanged(cubeName)
[ Language = javascript ]
User modified cubeName. Default it to other names if they have not been set.
method 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.
method 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.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.