public void addToolbarAction(@NotNull AnAction action, boolean underSettingsPopup) {
    if (underSettingsPopup) {
      mySettingsActions.add(action);
    }
    else {
      myToolbarActions.add(0, action);
    }
  }
public void addToolbarAction(@NotNull AnAction action, boolean underSettingsPopup)