C# 클래스 Habanero.Faces.Base.DefaultBOEditor

Provides an editing facility for a business object. The default editor is used by controls like GridControl to edit business objects. Where used, this class can be replaced by a custom control that inherits form IBusinessObjectEditor.
상속: IBusinessObjectEditor
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

보호된 프로퍼티들

프로퍼티 타입 설명
_controlFactory IControlFactory

공개 메소드들

메소드 설명
DefaultBOEditor ( IControlFactory controlFactory ) : Habanero.Base

Constructor for DefaultBOEditor

EditObject ( IBusinessObject obj, string uiDefName ) : bool

Edits the given business object by providing a form in which the user can edit the data

EditObject ( IBusinessObject obj, string uiDefName, PostObjectEditDelegate postEditAction ) : bool

Edits the given object

보호된 메소드들

메소드 설명
CreateEditorForm ( BusinessObject bo, string uiDefName ) : IDefaultBOEditorForm

Creates a form in which a business object can be edited

CreateEditorForm ( BusinessObject bo, string uiDefName, PostObjectEditDelegate action ) : IDefaultBOEditorForm

Creates a form in which a business object can be edited

메소드 상세

CreateEditorForm() 보호된 메소드

Creates a form in which a business object can be edited
protected CreateEditorForm ( BusinessObject bo, string uiDefName ) : IDefaultBOEditorForm
bo BusinessObject The business object to edit
uiDefName string The name of the set of ui definitions /// used to design the edit form. Setting this to an empty string /// will use a ui definition with no name attribute specified.
리턴 IDefaultBOEditorForm

CreateEditorForm() 보호된 메소드

Creates a form in which a business object can be edited
protected CreateEditorForm ( BusinessObject bo, string uiDefName, PostObjectEditDelegate action ) : IDefaultBOEditorForm
bo BusinessObject The business object to edit
uiDefName string The name of the set of ui definitions /// used to design the edit form. Setting this to an empty string /// will use a ui definition with no name attribute specified.
action PostObjectEditDelegate
리턴 IDefaultBOEditorForm

DefaultBOEditor() 공개 메소드

Constructor for DefaultBOEditor
public DefaultBOEditor ( IControlFactory controlFactory ) : Habanero.Base
controlFactory IControlFactory
리턴 Habanero.Base

EditObject() 공개 메소드

Edits the given business object by providing a form in which the user can edit the data
public EditObject ( IBusinessObject obj, string uiDefName ) : bool
obj IBusinessObject The business object to edit
uiDefName string The name of the set of ui definitions /// used to design the edit form. Setting this to an empty string /// will use a ui definition with no name attribute specified.
리턴 bool

EditObject() 공개 메소드

Edits the given object
public EditObject ( IBusinessObject obj, string uiDefName, PostObjectEditDelegate postEditAction ) : bool
obj IBusinessObject The object to edit
uiDefName string The name of the set of ui definitions /// used to design the edit form. Setting this to an empty string /// will use a ui definition with no name attribute specified.
postEditAction PostObjectEditDelegate Action to be performed when the editing is completed or cancelled. Typically used if you want to update /// a grid or a list in an asynchronous environment (E.g. to select the recently edited item in the grid)
리턴 bool

프로퍼티 상세

_controlFactory 보호되어 있는 프로퍼티

The Control Factory that is used to create the controls on this Editor.
protected IControlFactory _controlFactory
리턴 IControlFactory