Namespace: Consultingwerk.Windows.Framework.Repository.Object
Class 
ObjectMasterAttributesUserControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Implements: IHasDesignerVerbs

File:ObjectMasterAttributesUserControl
Purpose:Maintenance of attributes of the current object master
(Property Grid style updatable browser)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Nov 29 07:26:54 CEST 2016



Top Method Summary
Options Name Purpose
+ BindDataset (dataset) Binds the Dataset
# CellChangeHandler (Object, CellEventArgs) Event handler for the CellChangeHandler of the smartUpdatableBrowser1
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# CreateAttributeSearchField (SmartPanelController) Creates the Search Controls
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
- InitializeComponent () Initializes the Visual Design
# InitializeRow (UltraGridRow) Initializes the Attribute Value cell in the given UltraGridRow
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# OnHasChangesChanged (EventArgs) Raises the HasChangesChanged
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# OnLoad (EventArgs) Raises the Load event
Overrides Consultingwerk.SmartComponents.Base.SmartUserControl:OnLoad (EventArgs)
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ ReloadAttributes () Reloads the displayed attributes
+ ResetAttributes () Resets the Attributes Display
+ ResetChanges () Resets the changes in this uer control
+ SaveChanges (character) Saves the changes in this user control
# SearchAttributes (character) Searches for Attributes
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
+ SearchFieldEditorButtonClickHandler (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the SearchField
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# SearchFieldKeyDownHandler (Object, KeyEventArgs) Event handler for the KeyDown event of the SearchField
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
+ SetObjectMasterAttribute (AttributeValue) Sets an Attribute Value
# SetUpdatableBrowser (SmartUpdatableBrowser) Assigns the reference to the SmartUpdatableBrowser the base control is operating with
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
+ ShowObjectMasterAttributes (character) Retrieves the SmartObjectMaster Attributes for design time
- smartTempTableAdapter1_AfterRetrieveData (Object, EventArgs) Event handler for the AfterRetrieveData event of the smartTempTableAdapter1
- smartTempTableAdapter1_CurrentChanged (Object, EventArgs) Event handler for the CurrentChanged event of the smartTempTableAdapter1
- smartUpdatableBrowser1_BeforeCellActivate (Object, CancelableCellEventArgs) Event handler for the BeforeCellActivate event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_CellChange (Object, CellEventArgs) Event handler for the CellChange event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_ClickCellButton (Object, CellEventArgs) Event handler for the ClickCellButton event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_InitializeRow (Object, InitializeRowEventArgs) Event handler for the InitializeRow event of the smartUpdatableBrowser1
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

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

Top Event Summary
Options Name Purpose
+ HasChangesChanged DELEGATE System.EventHandler Raised when the control has changes that need to be saved
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL HasChanges
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ CHARACTER ObjectMasterId
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PUBLIC BindDataset (dataset)

Purpose: Binds the Dataset
Notes:

Parameters:
dsDesignAttributeValue DATASET dsDesignAttributeValue
The dataset to bind to
Top

PROTECTED CellChangeHandler (Object, CellEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the CellChangeHandler of the smartUpdatableBrowser1
Notes:

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

PROTECTED CreateAttributeSearchField (SmartPanelController)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Creates the Search Controls
Notes:

Parameters:
poPanelController SmartPanelController
The reference to the SmartPanelController
Top

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PUBLIC System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Returns a List of all Components in the Form
Notes: Supported on OpenEdge 11 only, due to dependency to the ComponentsCollection
list not available on 10.2B

Returns System.Collections.Generic.List <System.ComponentModel.Component>
The List of Components in the Form
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeRow (UltraGridRow)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Initializes the Attribute Value cell in the given UltraGridRow
Notes:

Parameters:
poRow Infragistics.Win.UltraWinGrid.UltraGridRow
The UltraGridRow to initialize
Top

PROTECTED OnHasChangesChanged (EventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Raises the HasChangesChanged
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the event
Top

PROTECTED OnLoad (EventArgs)

Overrides Consultingwerk.SmartComponents.Base.SmartUserControl:OnLoad (EventArgs)
Purpose: Raises the Load event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC OnVerbClicked (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcDesignerVerb CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

PROTECTED ParentFormDestroyedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event handler for the FormDestroyed event of the owning Form
Notes:

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
Top

PUBLIC ReloadAttributes ()

Purpose: Reloads the displayed attributes
Notes:

Top

PUBLIC ResetAttributes ()

Purpose: Resets the Attributes Display
Notes: Used to empty the grid, when no Object master is opened

Top

PUBLIC ResetChanges ()

Purpose: Resets the changes in this uer control
Notes:

Top

PUBLIC SaveChanges (character)

Purpose: Saves the changes in this user control
Notes:

Parameters:
pcObjectMasterId CHARACTER
The Object Master Id (for new records)
Top

PROTECTED SearchAttributes (character)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Searches for Attributes
Notes:

Parameters:
pcSearchText CHARACTER
The text to search for
Top

PUBLIC SearchFieldEditorButtonClickHandler (Object, EditorButtonEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the EditorButtonClick event of the SearchField
Notes:

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

PROTECTED SearchFieldKeyDownHandler (Object, KeyEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the KeyDown event of the SearchField
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.KeyEventArgs
The keyEventArgs with the data for this event
Top

PUBLIC SetObjectMasterAttribute (AttributeValue)

Purpose: Sets an Attribute Value
Notes:

Parameters:
poAttribute Consultingwerk.SmartFramework.Repository.AttributeValue
The Attribute Value instance
Top

PROTECTED SetUpdatableBrowser (SmartUpdatableBrowser)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Assigns the reference to the SmartUpdatableBrowser the base control
is operating with
Notes:

Parameters:
poBrowser SmartUpdatableBrowser
The SmartUpdatableBrowser instance
Top

PUBLIC ShowObjectMasterAttributes (character)

Purpose: Retrieves the SmartObjectMaster Attributes for design time
Notes:

Parameters:
pcObjectMasterId CHARACTER
the ID of the object type to retrieve
Top

PRIVATE smartTempTableAdapter1_AfterRetrieveData (Object, EventArgs)

Purpose: Event handler for the AfterRetrieveData event of the smartTempTableAdapter1
Notes:

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
Top

PRIVATE smartTempTableAdapter1_CurrentChanged (Object, EventArgs)

Purpose: Event handler for the CurrentChanged event of the smartTempTableAdapter1
Notes:

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
Top

PRIVATE smartUpdatableBrowser1_BeforeCellActivate (Object, CancelableCellEventArgs)

Purpose: Event handler for the BeforeCellActivate event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_CellChange (Object, CellEventArgs)

Purpose: Event handler for the CellChange event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_ClickCellButton (Object, CellEventArgs)

Purpose: Event handler for the ClickCellButton event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_InitializeRow (Object, InitializeRowEventArgs)

Purpose: Event handler for the InitializeRow event of the smartUpdatableBrowser1
Notes:

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

PUBLIC SubscribeParentFormDestroyed ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control



Constructor Detail
Top

PUBLIC ObjectMasterAttributesUserControl ()

Purpose: Constructor for the ObjectMasterAttributesUserControl class
Notes:



Event Detail
Top

PUBLIC HasChangesChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Raised when the control has changes that need to be saved
Notes:

Delegate: System.EventHandler


Property Detail
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL HasChanges

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC CHARACTER ObjectMasterId


Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL


ProDataset Detail

ProDataset dsDesignAttributeValue

Member tables: eDesignAttributeValue


Temp-Table Detail

Temp-Table eDesignAttributeValue

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:21:26