SplitEditorToolbar (@NotNull JComponent targetComponentForActions) { final ActionToolbar leftToolbar = createToolbar(); if (leftToolbar != null) { leftToolbar.setTargetComponent(targetComponentForActions); leftToolbar.setReservePlaceAutoPopupIcon(false); } final ActionToolbar rightToolbar = createRightToolbar(); rightToolbar.setTargetComponent(targetComponentForActions); rightToolbar.setReservePlaceAutoPopupIcon(false); return new SplitEditorToolbar(leftToolbar, rightToolbar); }