API Reference > ui-abstract > Toolbar > ToolbarItemUtilities ToolbarItemUtilities Class Helper class to create Abstract StatusBar Item definitions. Methods Name Description constructor(): ToolbarItemUtilities createActionButton(id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton Static Creates an Action Button createGroupButton(id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: undefined, overrides?: Partial<GroupButton>): GroupButton Static Creates a Group button isActionButton(item: CommonToolbarItem): item is ActionButton Static ActionButton type guard. isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition Static CustomButtonDefinition type guard. isGroupButton(item: CommonToolbarItem): item is GroupButton Static GroupButton type guard. Defined in ui/abstract/src/ui-abstract/toolbars/ToolbarItem.ts Line 118 Last Updated: 12 June, 2024