void (CodeStyleSettings settings) { SpacesPanelWithoutPreview panel = getSpacesPanel(settings); if (panel != null) { mySpacesPanel = panel; addTab(mySpacesPanel); } myWrappingPanel = new WrappingAndBracesPanelWithoutPreview(settings); addTab(myWrappingPanel); reset(getSettings()); }