[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Definition for registering mediators with the mediator manager
Source position: fpobserver.pp line 337
type TMediatorDef = class(TCollectionItem) |
||
public |
||
function Handles(); |
|
Determines if this definition can handle the given subject/GUI combination |
function BetterMatch(); |
|
Compares this definition against another for best match selection |
property MediatorClass: TMediatorClass; [rw] |
|
Class reference for the mediator implementation |
property MinSubjectClass: TClass; [rw] |
|
Minimum subject class that this mediator can handle |
property PropertyTypes: TTypeKinds; [rw] |
|
Set of property types this mediator can handle |
property PropertyName: string; [rw] |
|
Specific property name this mediator handles |
end; |
|
Definition for registering mediators with the mediator manager |
|
| | | ||
| | | ||
| | | ||
The TMediatorDef class represents a mediator definition used by the mediator manager to automatically select appropriate mediator classes for given subject/GUI combinations.
Each definition specifies the mediator class, minimum subject class, and either specific property names or property types that the mediator can handle. The manager uses this information to find the best matching mediator for automatic mediation scenarios.
|
Determines if this definition can handle the given subject/GUI combination |