Свойство | Тип | Описание | |
---|---|---|---|
_businessObject | IBusinessObject | ||
_logger | IHabaneroLogger |
Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
protected GetRelatedBusinessObject ( ) : IBusinessObject | ||
Результат | IBusinessObject |
protected InternalUpdateControlValueFromBo ( ) : void | ||
Результат | void |
protected LoadCollectionForBusinessObject ( ) : void | ||
Результат | 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 |
Результат | 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. | |
Результат | void |
protected SetRelatedBusinessObject ( IBusinessObject value ) : void | ||
value | IBusinessObject | |
Результат | void |
public UpdateControlValueFromBusinessObject ( ) : void | ||
Результат | void |
public UpdateErrorProviderErrorMessage ( ) : void | ||
Результат | void |
protected IBusinessObject _businessObject | ||
Результат | IBusinessObject |