ActionButton (@NotNull AnAction action, ActionButtonLook look, @NotNull String place, @NotNull Presentation presentation, Supplier<? extends @NotNull Dimension> minimumSize) { MyActionButton button = new MyActionButton(action, presentation); button.setFocusable(true); applyToolbarLook(look, presentation, button); return button; }