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