Unit 'fpobserver' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TMediatorManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Central manager for registering and finding mediator definitions

Declaration

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;

Inheritance

TMediatorManager

  

Central manager for registering and finding mediator definitions

|

TObject

Description

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.


Documentation generated on: Dec 15 2025