use of jetbrains.communicator.idea.actions.BaseAction in project intellij-plugins by JetBrains.
the class StatusToolbarImpl method createBottomPanel.
private Component createBottomPanel() {
DefaultActionGroup actions = new DefaultActionGroup();
for (Class<? extends NamedUserCommand> toolbarAction : getToolbarActions()) {
actions.add(new BaseAction(toolbarAction));
}
final ActionToolbar actionToolbar = ActionManager.getInstance().createActionToolbar("BottomToolbar", actions, true);
actionToolbar.setLayoutPolicy(ActionToolbar.NOWRAP_LAYOUT_POLICY);
return actionToolbar.getComponent();
}
Aggregations