/**************************************************************************************************************************** Licensed Materials - Property of IBM BI and PM: QFW © Copyright IBM Corp. 2005, 2010 US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *****************************************************************************************************************************/ function C_QanExecFlow_TreeView( oExecPlan ) { this.F_ConstructBaseClass( oExecPlan ); }; C_QanExecFlow_TreeView.F_Extends( C_QanExecPlan_TreeView ); C_QanExecFlow_TreeView.prototype.f_createTreeNode = function ( oPlanNode, iParentViewNodeId, iNestingParentViewNodeId ) { if(!oPlanNode) { v_sName = "XQE"; v_sName = "
" + v_sName + "
"; var v_sBoxColor = "#836FFF"; this.m_oExecPlanTreeView.add( 1, -1, v_sName, null, null, v_sBoxColor, ""); return 1; } var v_iViewNodeId = oPlanNode.F_GetID(); var v_sName = oPlanNode.F_GetOperationBoxHtml(); if( !v_sName ) v_sName = ""; if( !oPlanNode.F_GetNestedRootNodes() ) v_sName = "
" + v_sName + "
"; else v_sName = "" + v_sName + ""; if( !iNestingParentViewNodeId || iNestingParentViewNodeId < 0 ) { var v_sBoxColor = ( !oPlanNode.F_GetNestedRootNodes() ) ? "#d6fbc6": null; this.m_oExecPlanTreeView.add( v_iViewNodeId, iParentViewNodeId, v_sName, null, null, v_sBoxColor, ""); } else { this.m_oExecPlanTreeView.addNested( v_iViewNodeId, iNestingParentViewNodeId, v_sName, null, null, "#d6fbc6", "" ); } return v_iViewNodeId; } C_QanExecFlow_TreeView.prototype.f_getSelectedNodeColor = function() { return "#FCFFD3"; }