Top Method Summary
Options Name Purpose
System.Drawing.Image GetElementTypeImage (character) Returns the repository type icon image for the given type icon key
CHARACTER GetSelectedToolbarGuid () Returns the ElementGuid of the toolbar selected in the combo-box
InitializeComponent ()
LoadArea (character, dataset, CharacterDictionary) Populates the area from the structural data of the repository based form and retrieves the authorization for the given owners
PopulateToolbarItems () Populates the grid with the toolbar items of the toolbar selected in the combo-box and retrieves the authorization of their security items
PopulateToolbarList () Populates the toolbar combo-box from the TOOLBAR elements of the structural data
StoreArea () Stores the pending changes of the area
StoreToolbarSecurityItemChanges () Creates the security items registered for creation in the grid
ultraComboEditor1_ValueChanged (Object, EventArgs) Event handler for the ValueChanged event of the toolbar combo-box

Top Constructor Summary
Options Name Purpose
FormAuthorizationToolbarsControl () Initializes a new instance of the FormAuthorizationToolbarsControl

Top Property Summary
Options Name Purpose
CHARACTER AreaKey
Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl SecurityAssignmentGrid


Method Detail
Top

System.Drawing.Image GetElementTypeImage (character)

Purpose: Returns the repository type icon image for the given type icon key
Notes: The images come from the RyComponentType16 value list of the
IValueListProvider - the same icons the instances grid of the Object
Master form displays. The value list is resolved once per instance

Parameters:
pcTypeIcon CHARACTER
The type icon key of the element (ElementTypeIcon)
Returns System.Drawing.Image
The image of the type icon or the unknown value
Top

CHARACTER GetSelectedToolbarGuid ()

Purpose: Returns the ElementGuid of the toolbar selected in the combo-box
Notes:

Returns CHARACTER
The ElementGuid of the selected toolbar or the empty value
Top

InitializeComponent ()


Top

LoadArea (character, dataset, CharacterDictionary)

Purpose: Populates the area from the structural data of the repository based
form and retrieves the authorization for the given owners
Notes: Fills the toolbar combo-box from the TOOLBAR elements of the dataset
and the grid with the toolbar items of the selected toolbar

Parameters:
pcObjectMasterName CHARACTER
The name of the Object Master of the repository based form
dsFormAuthorizationStructure DATASET dsFormAuthorizationStructure
The ProDataset with the structural data of the form
poOwnerList Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterDictionary with the GUID's of the users and groups and the Default (Everybody) pseudo owner key
Top

PopulateToolbarItems ()

Purpose: Populates the grid with the toolbar items of the toolbar selected in
the combo-box and retrieves the authorization of their security items
Notes: The row key of a toolbar item row is the ItemRowKey. Toolbar items
without a security item are registered without one, so their owner
cells stay inactive until the item has been created and stored

Top

PopulateToolbarList ()

Purpose: Populates the toolbar combo-box from the TOOLBAR elements of the
structural data
Notes: Keeps the current selection when the toolbar still exists and selects
the first toolbar otherwise

Top

StoreArea ()

Purpose: Stores the pending changes of the area
Notes: Stores the changes to the security assignment first and the security
items registered for creation afterwards - a created item receives its
GUID on the server, so the refreshed structural data is required
before its assignment can be maintained

Top

StoreToolbarSecurityItemChanges ()

Purpose: Creates the security items registered for creation in the grid
Notes: Applies the checked item exists boxes of the grid rows to the
ttFormAuthorizationItem records and invokes the
StoreToolbarSecurityItems method of the FormAuthorizationBusinessTask,
which creates the missing SmartToolbarSecurityItem records and returns
the refreshed structural data of the form - including the GUIDs of the
created items. The area is then re-populated from the refreshed data

Top

ultraComboEditor1_ValueChanged (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the toolbar combo-box
Notes: Offers to store pending changes of the previously selected toolbar
and populates the grid with the toolbar items of the newly selected one

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event


Constructor Detail
Top

FormAuthorizationToolbarsControl ()

Purpose: Initializes a new instance of the FormAuthorizationToolbarsControl
Notes:



Property Detail
Top

CHARACTER AreaKey


Returns CHARACTER
Top

Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl SecurityAssignmentGrid


Returns Consultingwerk.Windows.Framework.Authorization.SecurityAssignmentGridControl


ProDataset Detail

ProDataset dsFormAuthorizationStructure

Member tables: ttFormAuthorizationElement, ttFormAuthorizationPage, ttFormAuthorizationItem


Temp-Table Detail

Temp-Table ttFormAuthorizationElement

Defined in:

Temp-Table ttFormAuthorizationItem

Defined in:

Temp-Table ttFormAuthorizationPage

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:21:13