EnabledWhenProperty

This a python binding to the C++ class Mantid::Kernel::EnabledWhenProperty.

bases: mantid.kernel.IPropertySettings

class mantid.kernel.EnabledWhenProperty((object)self, (str)otherPropName, (PropertyCriterion)when, (str)value)
__init__((object)self, (str)otherPropName, (PropertyCriterion)when, (str)value) → None :
Enabled otherPropName property when value criterion meets that given by the ‘when’ argument
__init__( (object)self, (str)otherPropName, (PropertyCriterion)when) -> None :
Enabled otherPropName property when criterion does not require a value, i.e isDefault
isEnabled((IPropertySettings)self, (IPropertyManager)alg) → bool :

Is the property to be shown as enabled in the GUI. Default true.

isVisible((IPropertySettings)self, (IPropertyManager)alg) → bool :

Is the property to be shown in the GUI? Default true.