class %DeepSee.UI.ModelBrowser extends %DeepSee.UI.standardPage
This page provides a means of exploring the cube relationships that are defined on the system.
Docbook ID for this page.parameter PAGENAME = "Analytics Model Browser";
Displayed name of this page.
Id of current item in the diagram.property LastColor as %String [ InitialExpression = "#A0FFB0;" ];
Color of the previously selected nodeproperty LastItemId as %ZEN.Datatype.string;
Id of last visited item in the diagram.
Decorate the page.method %OnGetPageName() as %String
Get the (localized) name of the page. This should be implemented in a subclass.method %OnGetTitle() as %String
Get the (localized) title string for the page. This should be implemented in a subclass.method BuildData() as %Status
Build sample data for the browser based on all the cubes in this namespace Note that this does not include subject areasmethod CreateModel(pID As %String, Output pModel) as %Status
Create an array that describes the model to be diagrammed. model is of the form:method DrawDiagram(pID As %String, pLastID As %String) as %String [ ZenMethod ]
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
Draw the diagram Return a string to force synchronous call from the clientmethod DrawModel(ByRef pModel, pLastID As %String = "") as %Status
DrawModel Method that sets the properties of the radialNavigator and adds child nodes to the navigatormethod GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
If pLastID is not empty, the previously selected node will be filled in using LastColor;
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
Get information to display in the ribbon bar.method PopulateCubeDropDown() as %Status