C# Class BcsExplorerDemo.Controls.GridHelper

Show file Open project: sybila/BCSParser

Public Methods

Method Description
CreateAgentGrid ( BcsAtomicAgentNode agent ) : UIElement
CreateComplexGrid ( BcsComplexNode complex ) : Grid
CreateEntityGrid ( BcsEntityNode entity ) : Grid
CreateReactantGrid ( BcsReactantNode reactant ) : Grid
CreateReactionGrid ( BcsReactionNode reaction ) : Grid

Private Methods

Method Description
AddColumnControlToGrid ( Grid grid, UIElement control, int row ) : void
AddEmptyRow ( Grid grid ) : void
AddReactionSymbolColumn ( Grid grid, string label ) : void
AddRowControlToGrid ( Grid grid, UIElement control ) : void

Method Details

CreateAgentGrid() public static method

public static CreateAgentGrid ( BcsAtomicAgentNode agent ) : UIElement
agent BcsResolver.Parser.BcsAtomicAgentNode
return UIElement

CreateComplexGrid() public static method

public static CreateComplexGrid ( BcsComplexNode complex ) : Grid
complex BcsResolver.Parser.BcsComplexNode
return System.Windows.Controls.Grid

CreateEntityGrid() public static method

public static CreateEntityGrid ( BcsEntityNode entity ) : Grid
entity BcsResolver.Parser.BcsEntityNode
return System.Windows.Controls.Grid

CreateReactantGrid() public static method

public static CreateReactantGrid ( BcsReactantNode reactant ) : Grid
reactant BcsResolver.Parser.BcsReactantNode
return System.Windows.Controls.Grid

CreateReactionGrid() public static method

public static CreateReactionGrid ( BcsReactionNode reaction ) : Grid
reaction BcsResolver.Parser.BcsReactionNode
return System.Windows.Controls.Grid