JVCL Help:TJvBaseDataContexts.DoAddContext
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvBaseDataContexts.DoAddContext Method
[+] TJvBaseDataContexts Methods
[+] TJvBaseDataContexts Properties
Search in JVCL Help
Search in all projectsSummary
Adds a context to a list.
Pascal
procedureDoAddContext(Context: IJvDataContext); virtual; abstract;
Parameters
Parameters | Description |
Context: IJvDataContext | Context to add to the list. |
Description
DoAddContext adds a context to the list. It is called by the implementer of IJvDataContextsManager.Add and IJvDataContextsManager.New.
DoAddContext should:
- check if the context is already added (and do nothing if it is).
- check if the specified context has a unique name (if it hasn't, an exception should be raised).
- notify the clients a context is about to be added.
- add the context to the list.
- notify the clients the context has been added to the list.
Each descendant of TJvBaseDataContexts that implements a list should implement this method as well.
See Also
TJvBaseDataContexts.DoClearContexts, TJvBaseDataContexts.DoDeleteContext, TJvBaseDataContexts.DoRemoveContext, IJvDataContextsManager.Add, IJvDataContextsManager.New
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page