TypeContext :: canUpdate - Check whether the selected instance can be updated
The function is called from the system or when calling Property::canUpdate() in order to check whether renaming instance is possible or not. By default, the function returns true. In order to perform application specific checks, the function has to be overloaded in a corresponding type context class.
The function is not an event, i.e. it is not called before updating an instance. In order to be consistent, it is suggested to call the function also in the doBeforeStore() event handler (property context).
Notes:
The function must not be called for checking the action but performs the check. For checking the action one may call Property::canUpdate().
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.