void () { getBrowser().setInclusionChangedListener(() -> myInclusionEventDispatcher.getMulticaster().inclusionChanged()); addInclusionListener(() -> updateButtons(), this); getBrowser().getViewer().addSelectionListener(() -> { refreshDetails(getBrowser().getViewer().isModelUpdateInProgress(), true); }); initCommitActions(myWorkflow.getCommitExecutors()); myCommitOptionsPanel.setBorder(emptyLeft(10)); myBrowserBottomPanel.add(myLegend.getComponent()); BorderLayoutPanel topPanel = JBUI.Panels.simplePanel().addToCenter(getBrowser()).addToBottom(myBrowserBottomPanel); mySplitter.setHonorComponentsMinimumSize(true); mySplitter.setFirstComponent(topPanel); mySplitter.setSecondComponent(myCommitMessageArea); mySplitter.setProportion(PropertiesComponent.getInstance().getFloat(SPLITTER_PROPORTION_OPTION, SPLITTER_PROPORTION_OPTION_DEFAULT)); myWarningLabel.setForeground(JBColor.RED); myWarningLabel.setBorder(JBUI.Borders.empty(5, 5, 0, 5)); updateWarning(); }