TMediatorDef class
Definition for registering mediators with the mediator manager
Declaration
TMediatorDef = class(TCollectionItem)Inheritance
- TMediatorDef
- TCollectionItem
- TPersistent
- TObject
Description
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.
See also
Properties
MediatorClass | public | Class reference for the mediator implementation |
MinSubjectClass | public | Minimum subject class that this mediator can handle |
PropertyTypes | public | Set of property types this mediator can handle |
PropertyName | public | Specific property name this mediator handles |
Methods
Handles | public | Determines if this definition can handle the given subject/GUI combination |
BetterMatch | public | Compares this definition against another for best match selection |
Inherited
From TCollectionItem (13)
Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (6)
Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
