Studio Developer Manual / Version 2301
Table Of ContentsToolbars contain buttons for making functionality quickly accessible. There are the following central toolbars that you might want to customize:
The
@coremedia/studio-client.ext.frame-components/MainNavigationToolbar
toolbar on the top left of Studio containing the "Favorites" and "Create" menu buttons.The
@coremedia/studio-client.main.editor-components/sdk/desktop/HeaderToolbar
toolbar on the top right of Studio containing the site selector, buttons for the main Studio functionalities (library, Control Room, dashboard) and the menu buttons for jobs and notifications.The
@coremedia/studio-client.main.editor-components/sdk/desktop/ActionsToolbar
on the right of each document form for completing the work on the current content.
The following section describes how you can use AddItemsPlugin
to add your
custom button to an existing toolbar.
It is good practice to wrap the custom UI component's actual functionality (that is, what your
button will do when clicked) in Action
objects, so that these actions can be reused for other buttons.
Actions are described in Section 5.1.3, “Actions”.