Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartComboEditor Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Implements: System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.IHasDesignerVerbs, Consultingwerk.SmartComponents.Implementation.ISmartDataFieldForeignFieldsClient, System.ComponentModel.ISupportInitialize

File:SmartComboEditor
Purpose:Extension to the Infragistics UltraComboEditor
Description:Combo-Box that can populate itself with a ValueList based
on data retrieved from a Business Entity Table
As the Infragistics UltraComboEditor does not provide
editor-support this class uses the UltraComboEditorWithDesigner
as a base class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Mar 01 13:49:20 CET 2013
Notes:Leverages the ValueListHelper class to build a value list
Accesses the backend directly through the ServiceAdapter
as no binding source and no navigation facilities are
required (both would be features that would justify using
a SmartBusinessEntityAdapter like the Lookup does.
The FlagValue and FlagText are only supported, when the
ImageField (BLOB) is not set



Top Method Summary
Options Name Purpose
+ BeginInit () Invoked at the beginning of a Containers InitializeComponents method
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ EndInit () Invoked at the end of a Containers InitializeComponents method
+ System.ComponentModel.AttributeCollection GetAttributes () Returns a collection of custom attributes for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER GetClassName () Returns the class name of this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER GetComponentName () Returns the name of this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.TypeConverter GetConverter () Returns a type converter for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.EventDescriptor GetDefaultEvent () Returns the default event for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.PropertyDescriptor GetDefaultProperty () Returns the default property for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.Object GetEditor (Type) Returns an editor of the specified type for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.EventDescriptorCollection GetEvents () Returns the events for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[]) Returns the events for this instance of a component using the specified attribute array as a filter.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.PropertyDescriptorCollection GetProperties () Returns the properties for this instance of a component.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[]) Returns the properties for this instance of a component using the attribute array as a filter.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ System.Object GetPropertyOwner (PropertyDescriptor) Returns an object that contains the property described by the specified property descriptor.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ HandleForeignFieldValueChanged () Reopens the query of the Smart data field after a foreign field value has changed
# OnProvideForeignFieldValue (ProvideForeignFieldValueEventArgs) Raises the ProvideForeignFieldValue
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Overrides Consultingwerk.SmartComponents.Base.SmartComboEditorDesign:OnVerbClicked (character)
+ ProvideForeignFieldValue (ProvideForeignFieldValueEventArgs) Callback method to provide values for a foreign field
+ RetrieveData () Retrieves data from the Backend and populates the ValueList
# SetDesignerProperties () Initializes design time properties
Overrides Consultingwerk.SmartComponents.Base.SmartComboEditorDesign:SetDesignerProperties ()
# ShowBusinessEntityPickerDialog () Shows a dialog to select a Business Entity
# ShowTablePickerDialog () Invokes the Table Picker Dialog and sets properties of the SmartBusinessEntityLookup during Design Time

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

Top Event Summary
Options Name Purpose
+ ProvideForeignFieldValue DELEGATE System.EventHandler Raised to request a ForeignFieldValue

Top Property Summary
Options Name Purpose
+ CHARACTER AppServerPartition
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER BindableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER CategorizedProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER CategoryProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER CustomContext
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER DescribedProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER DescriptionProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER DesignerVisibilityAttributes
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER DesignerVisibilityProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER DisplayFields
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER DisplaySubstitute
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER EntityName
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER EntityTable
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER FlagText
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER FlagValue
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER ForeignFields
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER ImageField
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER ImageKeyField
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER ImageKeyFieldSubstitute
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER KeyField
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER QuerySort
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ CHARACTER QueryString
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ LOGICAL RetrieveDataOnInit
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ Consultingwerk.OERA.IServiceAdapter ServiceAdapter
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
+ LOGICAL TrimValues
Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign


Method Detail
Top

PUBLIC BeginInit ()

Purpose: Invoked at the beginning of a Containers InitializeComponents
method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.begininit(VS.80).aspx

Top

PROTECTED CreateVerbs ()

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

Top

PUBLIC EndInit ()

Purpose: Invoked at the end of a Containers InitializeComponents method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.endinit(VS.80).aspx

Top

PUBLIC System.ComponentModel.AttributeCollection GetAttributes ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns a collection of custom attributes for this instance of a
component.
Notes:

Returns System.ComponentModel.AttributeCollection
The System.ComponentModel.AttributeCollection describing the types attributes
Top

PUBLIC CHARACTER GetClassName ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the class name of this instance of a component.
Notes:

Returns CHARACTER
The class name of the Component
Top

PUBLIC CHARACTER GetComponentName ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the name of this instance of a component.
Notes:

Returns CHARACTER
The Component Name of this instance
Top

PUBLIC System.ComponentModel.TypeConverter GetConverter ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns a type converter for this instance of a component.
Notes:

Returns System.ComponentModel.TypeConverter
The System.ComponentModel.TypeConverter for this instance of a component.
Top

PUBLIC System.ComponentModel.EventDescriptor GetDefaultEvent ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the default event for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptor
The System.ComponentModel.EventDescriptor for the default event of this component
Top

PUBLIC System.ComponentModel.PropertyDescriptor GetDefaultProperty ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the default property for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptor
The System.ComponentModel.PropertyDescriptor for the default property of the component
Top

PUBLIC System.Object GetEditor (Type)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns an editor of the specified type for this instance of a
component.
Notes:

Parameters:
editorBaseType System.Type
A System.Type that represents the editor for this object.
Returns System.Object
The reference to the Editor of the type of the component instance
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the events for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[])

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the events for this instance of a component using the
specified attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the properties for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[])

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns the properties for this instance of a component using the
attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.Object GetPropertyOwner (PropertyDescriptor)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign
Purpose: Returns an object that contains the property described by the
specified property descriptor.
Notes:

Parameters:
pd System.ComponentModel.PropertyDescriptor
A System.ComponentModel.PropertyDescriptor that represents the property whose owner is to be found.
Returns System.Object
An System.Object that represents the owner of the specified property.
Top

PUBLIC HandleForeignFieldValueChanged ()

Purpose: Reopens the query of the Smart data field after a foreign field value has changed
Notes:

Top

PROTECTED OnProvideForeignFieldValue (ProvideForeignFieldValueEventArgs)

Purpose: Raises the ProvideForeignFieldValue
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.ProvideForeignFieldValueEventArgs
The ProvideForeignFieldValueEventArgs with the data for the event
Top

PUBLIC OnVerbClicked (character)

Overrides Consultingwerk.SmartComponents.Base.SmartComboEditorDesign:OnVerbClicked (character)
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

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

PUBLIC ProvideForeignFieldValue (ProvideForeignFieldValueEventArgs)

Purpose: Callback method to provide values for a foreign field
Notes:

Parameters:
e Consultingwerk.SmartComponents.Implementation.ProvideForeignFieldValueEventArgs
The ProvideForeignFieldValueEventArgs with the data for this event
Top

PUBLIC RetrieveData ()

Purpose: Retrieves data from the Backend and populates the ValueList
Notes:

Top

PROTECTED SetDesignerProperties ()

Overrides Consultingwerk.SmartComponents.Base.SmartComboEditorDesign:SetDesignerProperties ()
Purpose: Initializes design time properties
Notes:

Top

PROTECTED ShowBusinessEntityPickerDialog ()

Purpose: Shows a dialog to select a Business Entity
Notes: Invoked by the "Select BusinessEntity" Designer Verb, only intended
for DesignTime

Top

PROTECTED ShowTablePickerDialog ()

Purpose: Invokes the Table Picker Dialog and sets properties of the
SmartBusinessEntityLookup during Design Time
Notes: Invoked by the "Select Tables" Designer Verb. Only intended for
DesignTime



Constructor Detail
Top

PUBLIC SmartComboEditor ()

Purpose: Constructor for the SmartComboEditor class
Notes:



Event Detail
Top

PUBLIC ProvideForeignFieldValue DELEGATE System.EventHandler

Purpose: Raised to request a ForeignFieldValue
Notes: The event argument (e) needs to be CASTed to ProvideForeignFieldValueEventArgs
to access the FieldName and Value properties

Delegate: System.EventHandler


Property Detail
Top

PUBLIC CHARACTER AppServerPartition

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER BindableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER CustomContext

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER DescribedProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns LOGICAL
Top

PUBLIC CHARACTER DisplayFields

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER DisplaySubstitute

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER EntityName

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER EntityTable

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER FlagText

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER FlagValue

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER ForeignFields

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER ImageField

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER ImageKeyField

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER ImageKeyFieldSubstitute

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER KeyField

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER QuerySort

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC CHARACTER QueryString

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns CHARACTER
Top

PUBLIC LOGICAL RetrieveDataOnInit

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns LOGICAL
Top

PUBLIC Consultingwerk.OERA.IServiceAdapter ServiceAdapter

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns Consultingwerk.OERA.IServiceAdapter
Top

PUBLIC LOGICAL TrimValues

Inherited from Consultingwerk.SmartComponents.Base.SmartComboEditorDesign

Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:39:53