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

File:ProparseTreeViewControl
Purpose:Visualizes the Proparse 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 ()
LoadTree (ParseUnit) Loads the tree from a ParseUnit
LocateInTreeView (SourceCodeLocationParameter) Locates the a tree node based on the current cursor position in the editor
OnSymbolChanged (SymbolChangedEventArgs) Raises the SymbolChanged
ResetNodeColor (TreeNodesCollection) Resets the nodes background color
SelectNode (JPNode) Selects a JPNode in the TreeView
ultraTree1_AfterSelect (Object, SelectEventArgs) Event handler for the AfterSelect event of the ultraTree1
WalkAST (JPNode, TreeNodesCollection) Walks a level of the AST

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

Top Event Summary
Options Name Purpose
SymbolChanged (Object, SymbolChangedEventArgs) Raised when a symbol is selected

Top Property Summary
Options Name Purpose
System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode> Nodes
org.prorefactor.treeparser.ParseUnit ParseUnit


Method Detail
Top

CHARACTER GetCurrentNodeKey ()

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

Returns CHARACTER
The Key of the currently selected tree node
Top

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

InitializeComponent ()


Top

LoadTree (ParseUnit)

Purpose: Loads the tree from a ParseUnit
Notes:

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

LocateInTreeView (SourceCodeLocationParameter)

Purpose: Locates the a tree node based on the current cursor position
in the editor
Notes:

Parameters:
poLocation Consultingwerk.Studio.Proparse.SourceCodeLocationParameter
The SourceCodeLocationParameter describing the cursor position
Top

OnSymbolChanged (SymbolChangedEventArgs)

Purpose: Raises the SymbolChanged
Notes:

Parameters:
e Consultingwerk.Studio.Proparse.SymbolChangedEventArgs
The SymbolChangedEventArgs with the data for the event
Top

ResetNodeColor (TreeNodesCollection)

Purpose: Resets the nodes background color
Notes:

Parameters:
poNodes Infragistics.Win.UltraWinTree.TreeNodesCollection
The current TreeNodesCollection
Top

SelectNode (JPNode)

Purpose: Selects a JPNode in the TreeView
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode to select in the tree view
Top

ultraTree1_AfterSelect (Object, SelectEventArgs)

Purpose: Event handler for the AfterSelect event of the ultraTree1
Notes:

Parameters:
sender System.Object
The reference to the component that raised the event
e Infragistics.Win.UltraWinTree.SelectEventArgs
The SelectEventArgs with the data for this event
Top

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

ProparseTreeViewControl ()

Purpose: Constructor of the ProparseTreeViewControl class
Notes:



Event Detail
Top

SymbolChanged (Object, SymbolChangedEventArgs)

Purpose: Raised when a symbol is selected
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the SymbolChanged event
e Consultingwerk.Studio.Proparse.SymbolChangedEventArgs
The SymbolChangedEventArgs with the data for the event


Property Detail
Top

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


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

org.prorefactor.treeparser.ParseUnit ParseUnit


Returns org.prorefactor.treeparser.ParseUnit


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:12:40