JComponent () { DefaultActionGroup toolbarGroup = new DefaultActionGroup(); AnAction toolbarActions = CustomActionsSchema.getInstance().getCorrectedAction(VcsLogActionIds.FILE_HISTORY_TOOLBAR_ACTION_GROUP); toolbarGroup.add(Objects.requireNonNull(toolbarActions)); ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.VCS_HISTORY_TOOLBAR_PLACE, toolbarGroup, false); toolbar.setTargetComponent(myGraphTable); return toolbar.getComponent(); }