[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Central manager for registering and finding mediator definitions
Source position: fpobserver.pp line 367
type TMediatorManager = class(TObject) |
||
public |
||
constructor Create; |
|
Creates the mediator manager with empty definition collection |
destructor Destroy; override; |
|
Destroys the manager and its definition collection |
function FindDefFor(); |
|
Finds the best mediator definition for given parameters |
function RegisterMediator(); |
|
Registers a new mediator class with the manager |
property Defs: TMediatorDefs; [r] |
|
Collection of registered mediator definitions |
end; |
|
Central manager for registering and finding mediator definitions |
|
| | | ||
The TMediatorManager class provides centralized registration and lookup of mediator definitions. It allows registration of mediator classes with specific requirements and automatically finds the best matching mediator for given subject/GUI combinations.
The manager uses a collection of mediator definitions to evaluate compatibility and select the most appropriate mediator based on class hierarchies, property types, and property names.