internal override MDXTreeNode AddParseNode(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(this.GetLabel()); node.ImageKey = node.SelectedImageKey = "Clear.ico"; return(node); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("WHERE"); node.ImageKey = node.SelectedImageKey = "Level2.ico"; this.m_Exp.FillParseTree(node.Nodes); }
internal virtual MDXTreeNode AddParseNode(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(this.GetLabel()); node.Tag = this; switch (this.GetMDXType()) { case MDXDataType.Number: case MDXDataType.String: node.ImageKey = node.SelectedImageKey = "Measure.ico"; return(node); case MDXDataType.Member: node.ImageKey = node.SelectedImageKey = "Member.ico"; return(node); case MDXDataType.Tuple: node.ImageKey = node.SelectedImageKey = "Level2.ico"; return(node); case MDXDataType.Set: node.ImageKey = node.SelectedImageKey = "NamedSet.ico"; return(node); case MDXDataType.Level: node.ImageKey = node.SelectedImageKey = "Level6.ico"; return(node); case MDXDataType.Hierarchy: node.ImageKey = node.SelectedImageKey = "Hierarchy.ico"; return(node); } return(node); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = this.AddParseNode(Nodes); this.m_Exp1.FillParseTree(node.Nodes); this.m_Exp2.FillParseTree(node.Nodes); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(this.GetLabel()); node.Tag = this; node.ImageKey = node.SelectedImageKey = "FolderClosed.ico"; }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(base.GetJustName()); node.Tag = this; node.ImageKey = node.SelectedImageKey = "Script.ico"; }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = this.AddParseNode(Nodes); foreach (object obj2 in this.m_Arguments) { ((MDXNode)obj2).FillParseTree(node.Nodes); } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("WHEN"); node.Tag = this; this.m_When.FillParseTree(node.Nodes); MDXTreeNode node2 = node.Nodes.Add("THEN"); node2.Tag = this.m_Then; this.m_Then.FillParseTree(node2.Nodes); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = this.AddParseNode(Nodes); this.m_WhenList.FillParseTree(node.Nodes); if (this.m_Else != null) { MDXTreeNode node2 = node.Nodes.Add("ELSE"); node2.Tag = this.m_Else; this.m_Else.FillParseTree(node2.Nodes); } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("DRILLTHROUGH"); node.Tag = this; node.ImageKey = node.SelectedImageKey = "MDXQuery.ico"; this.m_Select.FillParseTree(node.Nodes); if (this.m_ReturnAttrs != null) { this.m_ReturnAttrs.FillParseTree(node.Nodes); } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = this.AddParseNode(Nodes); if (this.m_List != null) { foreach (object obj2 in this.m_List) { ((MDXNode)obj2).FillParseTree(node.Nodes); } } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("SCOPE"); node.Tag = this; node.ImageKey = node.SelectedImageKey = "Scope.ico"; MDXTreeNode node2 = node.Nodes.Add("Subcube"); node2.Tag = this.m_Scope; node2.ImageKey = node2.SelectedImageKey = "CellCalculation.ico"; this.m_Scope.FillParseTree(node2.Nodes); this.m_Script.FillParseTree(node.Nodes); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(string.Format("Axis({0})", this.m_Name)); node.Tag = this.m_Exp; node.ImageKey = node.SelectedImageKey = "NamedSet.ico"; this.m_Exp.FillParseTree(node.Nodes); if (this.m_Having != null) { MDXTreeNode node2 = node.Nodes.Add("HAVING"); node2.Tag = this.m_Having; node2.ImageKey = node2.SelectedImageKey = "MeasureCalculated.ico"; this.m_Having.FillParseTree(node2.Nodes); } }
public void FillTree(System.Windows.Forms.TreeNode parentnode) { WinFormsTreeNodeCollection nodes = new WinFormsTreeNodeCollection(parentnode.Nodes); this.m_SSParser.GetNode().FillParseTree(nodes); if (this.m_ParamParser.m_Params.Count > 0) { MDXTreeNode node = nodes.Add("Parameters"); node.ImageKey = node.SelectedImageKey = "FolderClosed.ico"; foreach (MDXParameter parameter in this.m_ParamParser.m_Params) { MDXTreeNode node2 = node.Nodes.Add(parameter.m_Name); node2.ImageKey = node2.SelectedImageKey = "FolderClosed.ico"; MDXTreeNode node3 = node2.Nodes.Add(parameter.m_Value); node3.ImageKey = node3.SelectedImageKey = "MeasureCalculated.ico"; } } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add(base.GetCMName()); node.Tag = this; node.ImageKey = node.SelectedImageKey = "MeasureCalculated.ico"; base.Exp.FillParseTree(node.Nodes); if (base.CalcProps != null) { foreach (MDXCalcPropNode node2 in base.CalcProps) { MDXTreeNode node3 = node.Nodes.Add(node2.PropertyName); node3.ImageKey = node3.SelectedImageKey = "FolderClosed.ico"; node3.Tag = node2; node2.PropertyExp.FillParseTree(node3.Nodes); } } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("="); node.Tag = this; node.ImageKey = node.SelectedImageKey = "Script.ico"; string label = "Value"; if (this.m_Prop != null) { label = this.m_Prop; } MDXTreeNode node2 = node.Nodes.Add(label); node2.Tag = this.m_LValue; node2.ImageKey = node2.SelectedImageKey = "CellCalculation.ico"; this.m_LValue.FillParseTree(node2.Nodes); this.m_RValue.FillParseTree(node.Nodes); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("SELECT"); node.Tag = this; node.ImageKey = node.SelectedImageKey = "MDXQuery.ico"; if (this.m_Withs.Count > 0) { MDXTreeNode node2 = node.Nodes.Add("WITH"); node2.ImageKey = node2.SelectedImageKey = "FolderClosed.ico"; this.m_Withs.FillParseTree(node2.Nodes); } MDXTreeNode node3 = node.Nodes.Add("Axes"); node3.ImageKey = node3.SelectedImageKey = "FolderClosed.ico"; this.m_Axes.FillParseTree(node3.Nodes); if (this.m_Subselect != null) { MDXTreeNode node4 = node.Nodes.Add("FROM"); node4.ImageKey = node4.SelectedImageKey = "CellCalculation.ico"; this.m_Subselect.FillParseTree(node4.Nodes); } if (this.m_Cube != null) { MDXTreeNode node5 = node.Nodes.Add(string.Format("FROM {0}", this.m_Cube)); node5.ImageKey = node5.SelectedImageKey = "Cube.ico"; } if (this.m_Where != null) { this.m_Where.FillParseTree(node.Nodes); } if (this.m_CellProps != null) { MDXTreeNode node6 = node.Nodes.Add("CELL PROPERTIES"); node6.ImageKey = node6.SelectedImageKey = "FolderClosed.ico"; this.m_CellProps.FillParseTree(node6.Nodes); } }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("CREATE SUBCUBE"); this.m_Select.FillParseTree(node.Nodes); }
internal override void FillParseTree(MDXTreeNodeCollection Nodes) { MDXTreeNode node = Nodes.Add("FREEZE"); node.ImageKey = node.SelectedImageKey = "Script.ico"; }