Mantid
|
Small class to diable propery on interface. More...
Public Member Functions | |
bool | checkCriterion (const IPropertyManager *) const override |
Checks that the specified property matches the criteria given. More... | |
DisabledProperty () | |
Public Member Functions inherited from Mantid::Kernel::EnabledWhenProperty | |
virtual bool | checkComparison (const IPropertyManager *algo) const |
Checks two EnabledWhenProperty objects match the logic operator specified and returns the result of both of them. More... | |
virtual bool | checkCriterion (const IPropertyManager *algo) const |
Checks that the specified property matches the criteria given. More... | |
IPropertySettings * | clone () const override |
Make a copy of the present type of validator. More... | |
EnabledWhenProperty (const EnabledWhenProperty &conditionOne, const EnabledWhenProperty &conditionTwo, eLogicOperator logicOperator) | |
Constructs a EnabledWhenProperty object which copies two already constructed EnabledWhenProperty objects and returns the result of both of them with the specified logic operator. More... | |
EnabledWhenProperty (const EnabledWhenProperty &other) | |
Copy constructor. More... | |
EnabledWhenProperty (const std::string &otherPropName, const ePropertyCriterion when, const std::string &value="") | |
Constructs a EnabledWhenProperty object which checks the property with name given and if it matches the criteria enables it. More... | |
EnabledWhenProperty (std::shared_ptr< EnabledWhenProperty > &&conditionOne, std::shared_ptr< EnabledWhenProperty > &&conditionTwo, eLogicOperator logicOperator) | |
Constructs a EnabledWhenProperty object which takes ownership of two already constructed EnabledWhenProperty objects and returns the result of both of them with the specified logic operator. More... | |
bool | isEnabled (const IPropertyManager *algo) const override |
Return true/false based on whether the other property satisfies the criterion. More... | |
bool | isVisible (const IPropertyManager *algo) const override |
Return true always. More... | |
void | modify_allowed_values (Property *const) |
Stub function to satisfy the interface. More... | |
Public Member Functions inherited from Mantid::Kernel::IPropertySettings | |
virtual void | applyChanges (const IPropertyManager *, Property *const) |
The function user have to overload it in their custom code to modify the property according to the changes to other properties. More... | |
virtual IPropertySettings * | clone () const =0 |
Make a copy of the present type of IPropertySettings. More... | |
IPropertySettings ()=default | |
Constructor. More... | |
virtual bool | isConditionChanged (const IPropertyManager *algo, const std::string &changedPropName="") const |
to verify if the properties, this one depends on have changed or other special condition occurs which needs the framework to react to More... | |
virtual bool | isEnabled (const IPropertyManager *algo) const |
Is the property to be shown as "enabled" in the GUI. More... | |
virtual bool | isVisible (const IPropertyManager *algo) const |
Is the property to be shown in the GUI? Default true. More... | |
virtual | ~IPropertySettings ()=default |
Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::Kernel::EnabledWhenProperty | |
EnabledWhenProperty ()=default | |
Protected Constructor for derived classes to skip setting up the comparator in the base class as they will handle it. More... | |
std::string | getPropertyValue (const IPropertyManager *algo) const |
Checks the algorithm and property are both valid and attempts to get the value associated with the property. More... | |
Protected Member Functions inherited from Mantid::Kernel::IPropertySettings | |
IPropertySettings (const IPropertySettings &)=default | |
Protected Attributes inherited from Mantid::Kernel::EnabledWhenProperty | |
std::shared_ptr< PropertyDetails > | m_propertyDetails = nullptr |
Holds the various details used within the comparison. More... | |
Small class to diable propery on interface.
Definition at line 34 of file BaseConvertToDiffractionMDWorkspace.cpp.
|
inline |
Definition at line 36 of file BaseConvertToDiffractionMDWorkspace.cpp.
|
inlineoverridevirtual |
Checks that the specified property matches the criteria given.
Does the validator fulfill the criterion based on the other property values?
algo | :: The pointer to the algorithm to check the property values of |
: | Throws on any problems (e.g. property missing from algorithm) |
Reimplemented from Mantid::Kernel::EnabledWhenProperty.
Definition at line 37 of file BaseConvertToDiffractionMDWorkspace.cpp.