Called once per evaluation to build the selector predicate.
ctx is scoped to the condition block (same one you’ll see inside the predicate),
so you can safely use it for one-time initialization, stats, etc.null for identity selectors (no transformation needed — value passes through as-is).OptionalgetThe condition a user starts from on choosing this selector.
Optionalcontext: DefaultConditionContext
What the condition will apply to, when known.
The operator and, only where one value is plainly the right one, its param. null
for a selector with no natural operator.
An authoring UI asks for this when a user picks the selector, so the choice shows an operator
at once rather than an empty condition. An omitted param is filled by the operator's own
ICondition.IOperator.createDefaultParam; supply one only when it is the value the user
would have chosen, since an invented value that is saved unnoticed is a rule nobody wrote.
Read context.ranges through getStats(), never by visiting its cells: a whole column may be
selected.
OptionalgetReturns a human-readable description of the selector.
The name of the selector.
OptionalgetOptional function to provide a hint for rendering the condition in the UI.
A string hint for rendering the condition.
OptionalgetReturns a human-readable title of the selector.
Used for defining condition selectors.