Property | Type | Description | |
---|---|---|---|
_businessObject | IBusinessObject | ||
_logger | IHabaneroLogger |
Property | Type | Description | |
---|---|---|---|
AddCurrentBOHandlers | void | ||
BusinessObject_OnSaved | void | ||
CheckBusinessObjectCollectionCorrectType | void | ||
CheckBusinessObjectCorrectType | void | ||
GetStackTrace | string | ||
IsRelationshipComposition | bool | ||
OnMappedRelationshipChanged | void | ||
RelatedBusinessObjectChanged_Handler | void | ||
RemoveCurrentBOHandlers | void | ||
SetupRelationshipForBO | void | ||
SetupSingleRelationship | void | ||
UpdateIsEditable | void | ||
UpdateLinkedRelationshipAndControl | void |
Method | Description | |
---|---|---|
ApplyChangesToBusinessObject ( ) : void |
Updates the properties on the represented business object
|
|
GetErrorMessage ( ) : string |
Returns the Error Provider's Error message.
|
|
RelationshipComboBoxMapper ( IComboBox comboBox, string relationshipName, bool isReadOnly, IControlFactory controlFactory ) : System |
Constructs a RelationshipComboBoxMapper with the comboBox relationshipName
|
|
SetPropertyAttributes ( |
A form field can have attributes defined in the class definition. These attributes are passed to the control mapper via a hashtable so that the control mapper can adjust its behaviour accordingly.
|
|
UpdateControlValueFromBusinessObject ( ) : void |
Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
|
|
UpdateErrorProviderErrorMessage ( ) : void |
Sets the Error Provider Error with the appropriate value for the property e.g. if it is invalid then sets the error provider with the invalid reason else sets the error provider with a zero length string.
|
Method | Description | |
---|---|---|
GetRelatedBusinessObject ( ) : IBusinessObject |
Returns the property value of the business object being mapped
|
|
InternalUpdateControlValueFromBo ( ) : void |
Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
|
|
LoadCollectionForBusinessObject ( ) : void |
Provides an overrideable method for custom Loading the collection of business objects
|
|
SetRelatedBusinessObject ( IBusinessObject value ) : void |
Sets the property value to that provided. If the property value is invalid, the error provider will be given the reason why the value is invalid.
|
Method | Description | |
---|---|---|
AddCurrentBOHandlers ( ) : void | ||
BusinessObject_OnSaved ( object sender, Habanero.Base.BOEventArgs e ) : void | ||
CheckBusinessObjectCollectionCorrectType ( IBusinessObjectCollection newBusinessObjectCollection ) : void | ||
CheckBusinessObjectCorrectType ( IBusinessObject value ) : void | ||
GetStackTrace ( ) : string | ||
IsRelationshipComposition ( ) : bool | ||
OnMappedRelationshipChanged ( ) : void | ||
RelatedBusinessObjectChanged_Handler ( object sender, |
||
RemoveCurrentBOHandlers ( ) : void | ||
SetupRelationshipForBO ( IBusinessObject businessObject ) : void | ||
SetupSingleRelationship ( ) : void | ||
UpdateIsEditable ( ) : void | ||
UpdateLinkedRelationshipAndControl ( ) : void |
public ApplyChangesToBusinessObject ( ) : void | ||
return | void |
protected GetRelatedBusinessObject ( ) : IBusinessObject | ||
return | IBusinessObject |
protected InternalUpdateControlValueFromBo ( ) : void | ||
return | void |
protected LoadCollectionForBusinessObject ( ) : void | ||
return | void |
public RelationshipComboBoxMapper ( IComboBox comboBox, string relationshipName, bool isReadOnly, IControlFactory controlFactory ) : System | ||
comboBox | IComboBox | The combo box that is being mapped to |
relationshipName | string | The name of the relation that is being mapped to |
isReadOnly | bool | Whether the Combo box can be used to edit from or whether it is only viewable |
controlFactory | IControlFactory | A control factory that is used to create control mappers etc |
return | System |
public SetPropertyAttributes ( |
||
attributes | A hashtable of attributes, which consists /// of name-value pairs, where name is the attribute name. This is usually /// set in the XML definitions for the class's user interface. | |
return | void |
protected SetRelatedBusinessObject ( IBusinessObject value ) : void | ||
value | IBusinessObject | |
return | void |
public UpdateControlValueFromBusinessObject ( ) : void | ||
return | void |
public UpdateErrorProviderErrorMessage ( ) : void | ||
return | void |