class %DeepSee.UI.ModelBrowser extends %DeepSee.UI.standardPage

This page provides a means of exploring the cube relationships that are defined on the system.

Property Inventory

Method Inventory


parameter DOCBOOKID = D2MODADV_rel_model_browser;
Inherited description: Docbook ID for this page.
parameter PAGENAME = Analytics Model Browser;
Displayed name of this page.


property CurrItemId as %ZEN.Datatype.string (ZENURL = "CUBE");
Id of current item in the diagram.
Property methods: CurrItemIdDisplayToLogical(), CurrItemIdGet(), CurrItemIdIsValid(), CurrItemIdLogicalToDisplay(), CurrItemIdLogicalToOdbc(), CurrItemIdNormalize(), CurrItemIdSet()
property LastColor as %String [ InitialExpression = "#A0FFB0;" ];
Color of the previously selected node
Property methods: LastColorDisplayToLogical(), LastColorGet(), LastColorIsValid(), LastColorLogicalToDisplay(), LastColorLogicalToOdbc(), LastColorNormalize(), LastColorSet()
property LastItemId as %ZEN.Datatype.string;
Id of last visited item in the diagram.
Property methods: LastItemIdDisplayToLogical(), LastItemIdGet(), LastItemIdIsValid(), LastItemIdLogicalToDisplay(), LastItemIdLogicalToOdbc(), LastItemIdNormalize(), LastItemIdSet()


method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Decorate the page.
method %OnGetPageName() as %String [ Language = objectscript ]
Get the (localized) name of the page. This should be implemented in a subclass.
method %OnGetTitle() as %String [ Language = objectscript ]
Get the (localized) title string for the page. This should be implemented in a subclass.
method BuildData() as %Status [ Language = objectscript ]
Build sample data for the browser based on all the cubes in this namespace Note that this does not include subject areas

method CreateModel(pID As %String, Output pModel) as %Status [ Language = objectscript ]
Create an array that describes the model to be diagrammed. model is of the form:
model("id") = cube name
model("Name") = cube caption
model("ch",n) = ""
model("ch",n,"id") = child cube name
model("ch",n,"label") = child cube caption
method DrawDiagram(pID As %String, pLastID As %String) as %String [ Language = objectscript, ZenMethod ]
Draw the diagram Return a string to force synchronous call from the client
method DrawModel(ByRef pModel, pLastID As %String = "") as %Status [ Language = objectscript ]
DrawModel Method that sets the properties of the radialNavigator and adds child nodes to the navigator
If pLastID is not empty, the previously selected node will be filled in using LastColor;
method GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status [ Language = objectscript ]
Provide contents of the dimension tree.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status [ Language = objectscript ]
Get information to display in the ribbon bar.
method PopulateCubeDropDown() as %Status [ Language = objectscript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
clientmethod selectCube(value) [ Language = javascript ]
selectCube User has selected a new cube from the combobox
clientmethod selectNode(node) [ Language = javascript ]
selectNode Callback for handling selection of a new node
clientmethod sliderChange(slider) [ Language = javascript ]
sliderChange User has moved the zoom slider.
clientmethod updateDiagram(node) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods