Optional ReadonlyiconIcon of the menu entry.
ReadonlyidThis action's unique id.
Optional ReadonlylabelA textual label (or title) for this action.
ReadonlytypeThe type of this action.
OptionalisMethod to decide if the action should be shown as disabled (optional).
OptionalisReturns true if the action shall be available for the given item.
Should return false otherwise.
Note that this method may be asynchronous (i.e. return a Promise<boolean>).
An action definition that provides a button.