Skip to main content

%DeepSee.UI.ModelBrowser

Class %DeepSee.UI.ModelBrowser Extends %DeepSee.UI.standardPage [ System = 4 ]

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

Parameters

PAGENAME

Parameter PAGENAME = "Analytics Model Browser";

Displayed name of this page.

DOCBOOKID

Parameter DOCBOOKID = "D2MODADV_rel_model_browser";

Properties

CurrItemId

Property CurrItemId As %ZEN.Datatype.string(ZENURL = "CUBE");

Id of current item in the diagram.

LastItemId

Property LastItemId As %ZEN.Datatype.string;

Id of last visited item in the diagram.

LastColor

Property LastColor As %String [ InitialExpression = "#A0FFB0;" ];

Color of the previously selected node

XDatas

Style

XData Style

This Style block contains page-specific CSS style definitions.

SVGStyle

XData SVGStyle

CSS3Style

XData CSS3Style

This Style block contains page-specific CSS style definitions.

contentPane

XData contentPane [ XMLNamespace = "http://www.intersystems.com/zen" ]

svgContent

XData svgContent [ XMLNamespace = "http://www.intersystems.com/zen" ]

cubeElements

XData cubeElements [ XMLNamespace = "http://www.intersystems.com/zen" ]

Methods

sliderChange

ClientMethod sliderChange(slider) [ Language = javascript ]

sliderChange User has moved the zoom slider.

selectCube

ClientMethod selectCube(value) [ Language = javascript ]

selectCube User has selected a new cube from the combobox

selectNode

ClientMethod selectNode(node) [ Language = javascript ]

selectNode Callback for handling selection of a new node

updateDiagram

ClientMethod updateDiagram(node) [ Language = javascript ]

DrawDiagram

Method DrawDiagram(pID As %String, pLastID As %String) As %String [ ZenMethod ]

Draw the diagram Return a string to force synchronous call from the client

CreateModel

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

DrawModel

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;

BuildData

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

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the page. This should be implemented in a subclass.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

Decorate the page.

%OnGetPageName

Method %OnGetPageName() As %String

Get the (localized) name of the page. This should be implemented in a subclass.

OnGetRibbonInfo

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.

GetDimensionInfo

Method GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms) As %Status

Provide contents of the dimension tree.

PopulateCubeDropDown

Method PopulateCubeDropDown() As %Status

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.