Package rex.graphics.mdxeditor.mdxbuilder.nodes

Examples of rex.graphics.mdxeditor.mdxbuilder.nodes.MBTFunctionNode


    generateMeasuresNodefromResult(children[2],rowTreeNode);
    generateSlicerNodefromResult();
 

  private void getOrder(DefaultMutableTreeNode tNode,String [] set,String memberToSort,String sortType){
        MBTFunctionNode func = new MBTFunctionNode"Order"
                , "Arranges members of a set, optionally preserving or breaking the hierarchy."
                , "Order(�Set�, {�String Expression� | �Numeric Expression�} [, ASC | DESC | BASC | BDESC])"
                , null);
        DefaultMutableTreeNode funcNode =  new DefaultMutableTreeNode(func);
        ((MBTNode)tNode.getUserObject()).addChild(func);
        builderTreeModel.insertNodeInto(funcNode, tNode, tNode.getChildCount());
       
    setNode=new MBTArgSetNode("�Set1�");
    sortNode=new MBTArgStringNode("�String Expression� | �Numeric Expression�");
    sortTypeNode=new MBTArgEnumNode(false, "ASC | DESC | BASC | BDESC", new String[]{"ASC", "DESC", "BASC", "BDESC"}, false, false);
   
    DefaultMutableTreeNode setTreeNode=new DefaultMutableTreeNode(setNode);
    DefaultMutableTreeNode sortTreeNode=new DefaultMutableTreeNode(sortNode);
    DefaultMutableTreeNode sortTypeTreeNode=new DefaultMutableTreeNode(sortTypeNode);
   
    func.addChild(setNode);
    builderTreeModel.insertNodeInto( setTreeNode
                , funcNode
                , funcNode.getChildCount());
    func.addChild(sortNode);
    builderTreeModel.insertNodeInto( sortTreeNode
                , funcNode
                , funcNode.getChildCount());
    func.addChild(sortTypeNode);
    builderTreeModel.insertNodeInto( sortTypeTreeNode
                , funcNode
                , funcNode.getChildCount());
   
    for(int count=0;count<set.length;count++)
View Full Code Here


        bTree.expandPath(new TreePath(funcNode.getPath()));
        bTree.repaint();
  }
 
  private void getOrder(DefaultMutableTreeNode tNode,String [] set,String [] measureSet,String memberToSort,String sortType){
        MBTFunctionNode func = new MBTFunctionNode"Order"
                , "Arranges members of a set, optionally preserving or breaking the hierarchy."
                , "Order(�Set�, {�String Expression� | �Numeric Expression�} [, ASC | DESC | BASC | BDESC])"
                , null);
        DefaultMutableTreeNode funcNode =  new DefaultMutableTreeNode(func);
        ((MBTNode)tNode.getUserObject()).addChild(func);
        builderTreeModel.insertNodeInto(funcNode, tNode, tNode.getChildCount());
       
    setNode=new MBTArgSetNode("�Set1�");
    sortNode=new MBTArgStringNode("�String Expression� | �Numeric Expression�");
    sortTypeNode=new MBTArgEnumNode(false, "ASC | DESC | BASC | BDESC", new String[]{"ASC", "DESC", "BASC", "BDESC"}, false, true);
   
    DefaultMutableTreeNode setTreeNode=new DefaultMutableTreeNode(setNode);
    DefaultMutableTreeNode sortTreeNode=new DefaultMutableTreeNode(sortNode);
    DefaultMutableTreeNode sortTypeTreeNode=new DefaultMutableTreeNode(sortTypeNode);
   
    func.addChild(setNode);
    builderTreeModel.insertNodeInto( setTreeNode
                , funcNode
                , funcNode.getChildCount());
    func.addChild(sortNode);
    builderTreeModel.insertNodeInto( sortTreeNode
                , funcNode
                , funcNode.getChildCount());
    func.addChild(sortTypeNode);
    builderTreeModel.insertNodeInto( sortTypeTreeNode
                , funcNode
                , funcNode.getChildCount());
   
    for(int count=0;count<set.length;count++)
View Full Code Here

TOP

Related Classes of rex.graphics.mdxeditor.mdxbuilder.nodes.MBTFunctionNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.