void (@NotNull JComponent component, @NotNull ServiceViewActionProvider actionProvider) { myMasterPanel.add(ScrollPaneFactory.createScrollPane(component, SideBorder.TOP), BorderLayout.CENTER); myMasterActionToolbar = actionProvider.createMasterComponentToolbar(component); myMasterPanel.add(ServiceViewUIUtils.wrapServicesAligned(myMasterActionToolbar), BorderLayout.NORTH); myMasterPanel.updateUI(); actionProvider.installPopupHandler(component); }