C# Class Habanero.Faces.Base.EditableGridControlManager

This manager groups common logic for IEditableGridControl objects. Do not use this object in working code - rather call CreateEditableGridControl in the appropriate control factory.
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Private Properties

Property Type Description
DisableGrid void
EnableButtonsAndFilter void

Public Methods

Method Description
EditableGridControlManager ( IEditableGridControl gridControl, IControlFactory controlFactory ) : System

Constructor for EditableGridControlManager

Initialise ( IClassDef classDef ) : void

See IGridControl.Initialise(IClassDef)

Initialise ( IClassDef classDef, IUIGrid uiGridDef, string uiDefName ) : void

See IGridControl.Initialise(IClassDef,IUIGrid,string)

Initialise ( IClassDef classDef, string uiDefName ) : void

See IGridControl.Initialise(IClassDef,string)

RefreshFilter ( ) : void

Reapplies the current filter to the Grid.

SetBusinessObjectCollection ( IBusinessObjectCollection boCollection ) : void

Sets the business object collection to display. Loading of the collection needs to be done before it is assigned to the grid. This method assumes a default UI definition is to be used, that is a 'ui' element without a 'name' attribute.

Private Methods

Method Description
DisableGrid ( ) : void
EnableButtonsAndFilter ( ) : void

Method Details

EditableGridControlManager() public method

Constructor for EditableGridControlManager
public EditableGridControlManager ( IEditableGridControl gridControl, IControlFactory controlFactory ) : System
gridControl IEditableGridControl
controlFactory IControlFactory
return System

Initialise() public method

See IGridControl.Initialise(IClassDef)
public Initialise ( IClassDef classDef ) : void
classDef IClassDef
return void

Initialise() public method

See IGridControl.Initialise(IClassDef,IUIGrid,string)
public Initialise ( IClassDef classDef, IUIGrid uiGridDef, string uiDefName ) : void
classDef IClassDef
uiGridDef IUIGrid
uiDefName string
return void

Initialise() public method

See IGridControl.Initialise(IClassDef,string)
public Initialise ( IClassDef classDef, string uiDefName ) : void
classDef IClassDef
uiDefName string
return void

RefreshFilter() public method

Reapplies the current filter to the Grid.
public RefreshFilter ( ) : void
return void

SetBusinessObjectCollection() public method

Sets the business object collection to display. Loading of the collection needs to be done before it is assigned to the grid. This method assumes a default UI definition is to be used, that is a 'ui' element without a 'name' attribute.
public SetBusinessObjectCollection ( IBusinessObjectCollection boCollection ) : void
boCollection IBusinessObjectCollection The business object collection /// to be shown in the grid
return void