excludeControls

fun excludeControls(vararg properties: KProperty1<out ModelElement, *>)(source)

Excludes the given controls on THIS model element from control extraction (i.e. they will not appear in model.controls() or any control-editor UI). This overrides the class default's include for the named properties.

Pass one or more compile-time-checked property references, e.g. excludeControls(Variable::initialValue). References that do not correspond to a control are ignored. Must be called before the model is run (typically at construction time).

Parameters

properties

the control property references to exclude