Home > Class Reference > ENSLIB namespace > %DeepSee.UI.ModelBrowser

%DeepSee.UI.ModelBrowser

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 (Including Private)

Method Inventory (Including Private)

Parameters

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

Properties (Including Private)

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()

Methods (Including Private)

method %OnAfterCreatePage() as %Status
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 areas

method CreateModel(pID As %String, Output pModel) as %Status
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 [ ZenMethod ]
Draw the diagram Return a string to force synchronous call from the client
method DrawModel(ByRef pModel, pLastID As %String = "") as %Status
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
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
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 (Including Private)