ActionItem :: readProperty - Read action item property
The function reads an action item property passed in sProperty from the resource database. The action defined by its action name (name()) has to be defined as action resource ( ADK_EventActionControl ) in the resource database. The following properties can be provided:
- name - action name
- action - name of action to be executed
- label - short action name
- tooltip - tool tip text defined for the action
- text - long text defined for the action (html)
- plain_text - long text returned as ASCII text without html tags (description)
- image - active image path defined for the action
- Properties are returned as odaba::String value. The function throws an exception, when the requested action could not be found. The function returns an empty string, when the requested property could not be found or is empty.
Return value: String value ( odaba::String )
Implementation details
odaba::String
ActionItem  :: readProperty ( odaba::String &sProperty )
- sProperty
- Property name
The property name refers to a named property of any object. It is passed as odaba::String .