Namespace: Consultingwerk.Windows.Framework.Authorization
Class 
AuthorizationHierarchyControl Copy to Clipboard
Parent classes:
Inherits: Crainiate.Diagramming.Forms.Diagram




Top Method Summary
Options Name Purpose
- AddTables (character, table, integer) Adds tables to the model
- AlignNodes (character) Aligns the nodes of the given parent guid
- INTEGER GetColumn (character, integer) Returns the column number for the given row number
- INTEGER GetMaxColumn (character) Returns the maximum column number for the given parent guid
- InitializeComponent () Initializes the control
- LinkPorts (character) Links the ports of the given parent guid
- LinkPorts (Port, Port) Creates a link between two ports
- Link_SelectedChanged (Object, EventArgs) Handles the selected changed event of a link
- PlaceNodes (character) Places the nodes of the given parent guid
+ SetData (table) Sets the model to the given temp-table data
- SetModelSize (table) Sets the model size variables for a new Table
- Table_SelectedItemChanged (Object, EventArgs) Handles the selected changed event of a table

Top Constructor Summary
Options Name Purpose
+ AuthorizationHierarchyControl () Constructor for the AuthorizationHierarchyControl class


Method Detail
Top

PRIVATE AddTables (character, table, integer)

Purpose: Adds tables to the model
Notes: Recursively adds the child tables as well

Parameters:
pcParentGuid CHARACTER
The guid of the parent table or an empty string for the root table
poParentTable TEMP-TABLE poParentTable
The parent table object or ? for the root table
piLevel INTEGER
The level at which to add the tables
Top

PRIVATE AlignNodes (character)

Purpose: Aligns the nodes of the given parent guid
Notes:

Parameters:
pcParentGuid CHARACTER
The guid of the parent table
Top

PRIVATE INTEGER GetColumn (character, integer)

Purpose: Returns the column number for the given row number
Notes:

Parameters:
pcParentGuid CHARACTER
The guid of the parent table
piRowNum INTEGER
The row number
Returns INTEGER
The column number
Top

PRIVATE INTEGER GetMaxColumn (character)

Purpose: Returns the maximum column number for the given parent guid
Notes:

Parameters:
pcGuid CHARACTER
The guid of the parent table
Returns INTEGER
The maximum column number
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the control
Notes:

Top

PRIVATE LinkPorts (character)

Purpose: Links the ports of the given parent guid
Notes:

Parameters:
pcParentGuid CHARACTER
The guid of the parent table
Top

PRIVATE LinkPorts (Port, Port)

Purpose: Creates a link between two ports
Notes:

Parameters:
poParent Crainiate.Diagramming.Port
The parent port
poChild Crainiate.Diagramming.Port
The child port
Top

PRIVATE Link_SelectedChanged (Object, EventArgs)

Purpose: Handles the selected changed event of a link
Notes:

Parameters:
sender System.Object
The sender object
e System.EventArgs
The event arguments
Top

PRIVATE PlaceNodes (character)

Purpose: Places the nodes of the given parent guid
Notes:

Parameters:
pcParentGuid CHARACTER
The guid of the parent table
Top

PUBLIC SetData (table)

Purpose: Sets the model to the given temp-table data
Notes:

Parameters:
ttAuthorizationHierarchy TEMP-TABLE ttAuthorizationHierarchy
The temp-table holding a tree of users and groups
Top

PRIVATE SetModelSize (table)

Purpose: Sets the model size variables for a new Table
Notes:

Parameters:
poTable TEMP-TABLE poTable
The table object
Top

PRIVATE Table_SelectedItemChanged (Object, EventArgs)

Purpose: Handles the selected changed event of a table
Notes:

Parameters:
sender System.Object
The sender object
e System.EventArgs
The event arguments


Constructor Detail
Top

PUBLIC AuthorizationHierarchyControl ()

Purpose: Constructor for the AuthorizationHierarchyControl class
Notes:



Temp-Table Detail

Temp-Table ttAuthorizationHierarchy

Defined in:


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       22.04.2025 11:45:43