Merge branch 'master' into codeStyleExtractor
[idea/community.git] / platform / lang-impl / src / com / intellij / application / options / codeStyle / OptionTableWithPreviewPanel.java
index 6f8e536daba2c4959ea108b054fd75dc7d71653d..7c64542ed8b63a3243ca8379c739b6138a48e9e8 100644 (file)
@@ -16,9 +16,7 @@
 package com.intellij.application.options.codeStyle;
 
 import com.intellij.openapi.application.ApplicationBundle;
-import com.intellij.psi.codeStyle.CodeStyleSettings;
-import com.intellij.psi.codeStyle.CommonCodeStyleSettings;
-import com.intellij.psi.codeStyle.CustomCodeStyleSettings;
+import com.intellij.psi.codeStyle.*;
 import com.intellij.ui.SpeedSearchComparator;
 import com.intellij.ui.TreeTableSpeedSearch;
 import com.intellij.ui.components.JBCheckBox;
@@ -283,7 +281,7 @@ public abstract class OptionTableWithPreviewPanel extends CustomizableLanguageCo
     return result == null ? defaultName : result;
   }
 
-  private static void expandTree(final JTree tree) {
+  public static void expandTree(final JTree tree) {
     int oldRowCount = 0;
     do {
       int rowCount = tree.getRowCount();