IHYUpdateableController
From RemObjects Software
This is a Hydra Architecture entry
Feel free to add your notes to this topic below.
Overview
Updateable controllers provide a batch mechanism to manage every set of menu items, menus, toolbars etc. that a plugin adds to the host.
Supplying AddReference calls within BeginUpate and EndUpdate pairs allows the subsequent deletion of all added items via a single call to DeleteUpdates.
File
uHYIntf
Declaration
IHYUpdateableController = interface;
Hierarchy
- IInterface
- IHYUpdateableController
Methods
| | |
|---|---|
| AddReference | Supplying AddReference calls within BeginUpate and EndUpdate pairs allows the subsequent deletion of all added items via a single call to DeleteUpdates. |
| BeginUpdate | Call BeginUpdate prior to call(s) to AddReference. Each BeginUpdate must have an associated EndUpdate.
Items added by AddReference can subsequently be removed by a single call to DeleteUpdates. |
| DeleteUpdates | DeleteUpdates removes all items added to the host's menu and toolbars via AddReference calls. See BeginUpdate and EndUpdate also. |
| EndUpdate | Call EndUpdate following call(s) to AddReference preceded by BeginUpdate.
Items added by AddReference can subsequently be removed by a single call to DeleteUpdates. |
| GetUpdateCount | Call GetUpdateCount to retrieve the number of items manually added to the host's menu and toolbars. |
See Also
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | Hydra | Architecture | Interface | Delphi
