createSingleTextItem

Creates a contextual toolbar menu single ite, with the provided properties. This is a text item

Parameters

context

Context of the component creating the button.

id

Menu item id.

position

Position of the menu item in the toolbar.