Method | Description | |
---|---|---|
DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory ) : System |
Constructs the DefaultBOEditorFormWin class with the specified BusinessObject, uiDefName and IControlFactory.
|
|
DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory, GroupControlCreator creator ) : System |
Constructs the DefaultBOEditorFormWin class with the specified businessObject, uiDefName and post edit action.
|
|
DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory, PostObjectEditDelegate action ) : System |
Constructs the DefaultBOEditorFormWin class with the specified BusinessObject, uiDefName, IControlFactory and post edit action.
|
Method | Description | |
---|---|---|
CancelButtonHandler ( object sender, |
A handler to respond when the "Cancel" button has been pressed. Any unsaved edits are cancelled and the dialog is closed.
|
|
CreateLayout ( ) : void |
Sets all the controls up in a layout manager. By default uses the border layout manager with the editor control centre and the buttons south.
|
|
CreateSaveTransaction ( ) : ITransactionCommitter |
Creates a transaction Committer with the Business Object added.
|
|
OkButtonHandler ( object sender, |
A handler to respond when the "OK" button has been pressed. All changes are committed to the database and the dialog is closed.
|
|
SetupFormSize ( IUIForm def ) : void |
Sets up the forms size based on the BOPanel and the Buttons.
|
Method | Description | |
---|---|---|
CancelEditsToBusinessObject ( ) : bool | ||
FocusOnFirstControl ( ) : void | ||
IDefaultBOEditorForm ( ) : bool |
Pops the form up in a modal dialog. If the BO is successfully edited and saved, returns true, else returns false.
|
|
OnFormClosing ( object sender, |
||
SafeCloseForm ( ) : void |
protected CancelButtonHandler ( object sender, |
||
sender | object | The object that notified of the event |
e | Attached arguments regarding the event | |
return | void |
protected CreateSaveTransaction ( ) : ITransactionCommitter | ||
return | ITransactionCommitter |
public DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory ) : System | ||
bo | BusinessObject | The business object to represent |
uiDefName | string | The name of the ui def to use. |
controlFactory | IControlFactory | The |
return | System |
public DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory, GroupControlCreator creator ) : System | ||
bo | BusinessObject | The business object to represent |
uiDefName | string | The name of the ui def to use. |
controlFactory | IControlFactory | The |
creator | GroupControlCreator | The Creator used to Create the Group Control. |
return | System |
public DefaultBOEditorFormWin ( BusinessObject bo, string uiDefName, IControlFactory controlFactory, PostObjectEditDelegate action ) : System | ||
bo | BusinessObject | The business object to represent |
uiDefName | string | The name of the ui def to use. |
controlFactory | IControlFactory | The |
action | 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). |
return | System |
protected OkButtonHandler ( object sender, |
||
sender | object | The object that notified of the event |
e | Attached arguments regarding the event | |
return | void |
protected SetupFormSize ( IUIForm def ) : void | ||
def | IUIForm | |
return | void |