I'm writing plugin which allows to use Run/Debug configurations as actions (E.g. allows to assign shortcut or add them to toolbar) https://github.com/turbanoff/RunConfigurationAsAction
For proper work my plugin need to refresh all toolbars. At least 2 toolbars: main toolbar and navigation toolbar.
As far as I could see, there is no special place for toolbar names. For example navigation bar toolbar has name "NavBarToolBar". But there is no such constant in IDEA community sources. But there is constant for string "NavBartoolbar" - com.intellij.openapi.actionSystem.ActionPlaces#NAVIGATION_BAR_TOOLBAR
1. It's very misleading that toolbar and action places has different names.
2. Is there any available API to obtain names of toolbars?
3. It would be nice to have access in public API: for keyset of com.intellij.ide.ui.customization.CustomActionsSchema#myIdToActionGroup (now I just hardcoded 2 names) and for com.intellij.ide.ui.customization.CustomisedActionGroup#myForceUpdate (now I forced to use reflection)