Namespace: Consultingwerk.Windows.Framework.Repository.Class
Class 
SmartObjectTreeModel Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartObjectTreeModel
Purpose:Model for the Tree of the Smart Object Maintenance Form
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Oct 16 00:11:15 CEST 2015



Top Method Summary
Options Name Purpose
AfterActivateHandler (Object, NodeEventArgs) Event handler for the AfterActivate event of the tree view control
AfterCancelCreateRecordHandler (Object, AfterCancelCreateRecordEventArgs) Event handler for the AfterCancelCreateRecord of the SmartDatasetAdapter
AfterDeleteRecordHandler (Object, AfterDeleteRecordEventArgs) Event handler for the AfterDeleteRecord event of the SmartDatasetAdapter
AfterUpdateRecordHandler (Object, AfterUpdateRecordEventArgs) Event handle for the AfterUpdateRecord event of the SmartDatasetAdapter
BeforeCreateRecordHandler (Object, BeforeCreateRecordEventArgs) Event handle for the BeforeCreateRecordHandler event of the SmartDatasetAdapter
BeforeExpandHandler (Object, CancelableNodeEventArgs) Event handler for the BeforeExpand event of the tree view control
BindDataset (dataset) Bind the dataset
Dispose () Disposes the object
NavigationTargetStateChangedHandler (Object, SmartNavigationTargetStateChangedEventArgs) Event fired whenever the SmartDataSourceState property has changed
System.Drawing.Bitmap NodeImageForObjectType (handle) Builds the Node Label based on an eSmartObjectType buffer handle
CHARACTER NodeLabelForObjectType (handle) Builds the Node Label based on an eSmartObjectType buffer handle
PopulateTreeView () Populates the Tree View after data has been loaded
PopulateTreeView (TreeNodesCollection, character) Populates the Tree View after data has been loaded
SmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs) Event handler for the SmartTableIOStateChanged event of the viewer
SubscribeDataAdapterEvents (SmartDatasetAdapter) Subscribes Event handles of the SmartDatasetAdapter

Top Constructor Summary
Options Name Purpose
SmartObjectTreeModel (handle, UltraTree, SmartDatasetAdapter, SmartViewerControl, ObjectTypeAttributesUserControl) Constructor for the SmartObjectTreeModel class

Top Property Summary
Options Name Purpose
LOGICAL AddChild


Method Detail
Top

AfterActivateHandler (Object, NodeEventArgs)

Purpose: Event handler for the AfterActivate event of the tree view control
Notes:

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

AfterCancelCreateRecordHandler (Object, AfterCancelCreateRecordEventArgs)

Purpose: Event handler for the AfterCancelCreateRecord of the SmartDatasetAdapter
Notes:

Parameters:
sender System.Object
The reference to the object that raised the evnet
e Consultingwerk.SmartComponents.Implementation.AfterCancelCreateRecordEventArgs
The AfterCancelCreateRecordEventArgs with the data for this event
Top

AfterDeleteRecordHandler (Object, AfterDeleteRecordEventArgs)

Purpose: Event handler for the AfterDeleteRecord event of the SmartDatasetAdapter
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterDeleteRecordEventArgs
The AfterDeleteRecordEventArgs with the data for this event
Top

AfterUpdateRecordHandler (Object, AfterUpdateRecordEventArgs)

Purpose: Event handle for the AfterUpdateRecord event of the SmartDatasetAdapter
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.AfterUpdateRecordEventArgs
The AfterUpdateRecordEventArgs with the data for this event
Top

BeforeCreateRecordHandler (Object, BeforeCreateRecordEventArgs)

Purpose: Event handle for the BeforeCreateRecordHandler event of the
SmartDatasetAdapter
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.BeforeCreateRecordEventArgs
The BeforeCreateRecordEventArgs with the data for this event
Top

BeforeExpandHandler (Object, CancelableNodeEventArgs)

Purpose: Event handler for the BeforeExpand event of the tree view control
Notes:

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

BindDataset (dataset)

Purpose: Bind the dataset
Notes:

Parameters:
dsObjectType DATASET dsObjectType
Dataset to bind to
Top

Dispose ()

Purpose: Disposes the object
Notes: Unsubscribes from any event previously subscribed

Top

NavigationTargetStateChangedHandler (Object, SmartNavigationTargetStateChangedEventArgs)

Purpose: Event fired whenever the SmartDataSourceState property has changed
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Base.SmartNavigationTargetStateChangedEventArgs
The SmartNavigationTargetStateChangedEventArgs with the data for this event
Top

System.Drawing.Bitmap NodeImageForObjectType (handle)

Purpose: Builds the Node Label based on an eSmartObjectType buffer handle
Notes:

Parameters:
phBuffer HANDLE
The handle of the buffer to build the node label from
Returns System.Drawing.Bitmap
The node label
Top

CHARACTER NodeLabelForObjectType (handle)

Purpose: Builds the Node Label based on an eSmartObjectType buffer handle
Notes:

Parameters:
phBuffer HANDLE
The handle of the buffer to build the node label from
Returns CHARACTER
The node label
Top

PopulateTreeView ()

Purpose: Populates the Tree View after data has been loaded
Notes:

Top

PopulateTreeView (TreeNodesCollection, character)

Purpose: Populates the Tree View after data has been loaded
Notes:

Parameters:
poNodes Infragistics.Win.UltraWinTree.TreeNodesCollection
The TreeNodesCollection to populate
pcParentObjectTypeGuid CHARACTER
The object type guid of the parent object type
Top

SmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs)

Purpose: Event handler for the SmartTableIOStateChanged event of the viewer
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The SmartTableIOStateChangedEventArgs with the data for this call
Top

SubscribeDataAdapterEvents (SmartDatasetAdapter)

Purpose: Subscribes Event handles of the SmartDatasetAdapter
Notes:

Parameters:
poAdapter Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The reference to the SmartDatasetAdapter to subscribe events from


Constructor Detail
Top

SmartObjectTreeModel (handle, UltraTree, SmartDatasetAdapter, SmartViewerControl, ObjectTypeAttributesUserControl)

Purpose: Constructor for the SmartObjectTreeModel class
Notes:

Parameters:
phDatasetHandle HANDLE
The dataset of the Object Type Business Entity
poTree Infragistics.Win.UltraWinTree.UltraTree
The reference to the UltraTree Control
poObjectTypeAdapter Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The reference to the SmartDatasetAdaptre
poObjectTypeViewer Consultingwerk.SmartComponents.Base.SmartViewerControl
The reference to the SmartViewerControl
poAttributesControl Consultingwerk.Windows.Framework.Repository.Class.ObjectTypeAttributesUserControl
The reference to the user control with the Attribute Values


Property Detail
Top

LOGICAL AddChild


Returns LOGICAL


ProDataset Detail

ProDataset dsObjectType

Member tables: eSmartObjectType


Temp-Table Detail

Temp-Table eSmartObjectType

Defined in:


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