Namespace: Consultingwerk.Studio.Proparse
Class 
ProparseTreeViewControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl

File:ProparseTreeViewControl
Purpose:Visualizes the propaser AST in a tree view
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Jun 28 20:27:18 CEST 2011



Top Method Summary
Options Name Purpose
+ CHARACTER GetCurrentNodeKey () Returns the Key of the currently selected tree node
+ org.prorefactor.core.JPNode GetJPNode (integer) Returns a JPNode by a node number
- InitializeComponent () Initializes the Visual Design
+ LoadTree (ParseUnit) Loads the tree from a ParseUnit
# WalkAST (JPNode, TreeNodesCollection) Walks a level of the AST

Top Constructor Summary
Options Name Purpose
+ ProparseTreeViewControl () Constructor of the ProparseTreeViewControl class

Top Property Summary
Options Name Purpose
+ System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode> Nodes Returns the Reference to the Dictionary of TreeNodes


Method Detail
Top

PUBLIC CHARACTER GetCurrentNodeKey ()

Purpose: Returns the Key of the currently selected tree node
Notes:

Returns CHARACTER
The Key of the currently selected tree node
Top

PUBLIC org.prorefactor.core.JPNode GetJPNode (integer)

Purpose: Returns a JPNode by a node number
Notes:

Parameters:
piNodeNum INTEGER
The node number to return
Returns org.prorefactor.core.JPNode
The refernce to the specified JPNode
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PUBLIC LoadTree (ParseUnit)

Purpose: Loads the tree from a ParseUnit
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
The ParseUnit to populate the tree from
Top

PROTECTED WalkAST (JPNode, TreeNodesCollection)

Purpose: Walks a level of the AST
Notes:

Parameters:
poASTNode org.prorefactor.core.JPNode
The current parent AST node reference
poTreeNodes Infragistics.Win.UltraWinTree.TreeNodesCollection
The current TreeNodesCollection to add the nodes to


Constructor Detail
Top

PUBLIC ProparseTreeViewControl ()

Purpose: Constructor of the ProparseTreeViewControl class
Notes:



Property Detail
Top

PUBLIC System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode> Nodes

Purpose: Returns the Reference to the Dictionary of TreeNodes
Notes:

Returns System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode>


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:46:00