THYRepositoryCollection
Overview
The THYRepositoryCollection class is the base class for collection of menu and toolbar items in the Delphi plugin. The THYRepositoryCollection collection holds the THYRepositoryCollectionItem elements that can represent an Action (THYActionItemDef), a Menu (THYMenuItemDef) or a Toolbar (THYToolbarDef) item.
Location
- Unit: Hydra.VCL.PluginControlsRepository.pas
- Ancestry: TCollection | THYRepositoryCollection
Properties
Repository
Gets the THYPluginControlsRepository control that merges menus and toolbars.
property Repository: THYPluginControlsRepository read
Instance Methods
constructor Create reintroduce
Creates a new instance of the class.
constructor Create(aRepository: THYPluginControlsRepository; anItemType: TCollectionItemClass)
Parameters:
- aRepository: Reference to the controls repository.
- anItemType: Type of the item class.
GetOwner protected override
Returns the THYPluginControlsRepository that merges menus or toolbars.
function GetOwner: TPersistent