CodeGenerationSettings res= new CodeGenerationSettings();
res.createComments= store.getBoolean(PreferenceConstants.CODEGEN_ADD_COMMENTS);
res.useKeywordThis= store.getBoolean(PreferenceConstants.CODEGEN_KEYWORD_THIS);
- res.importOrder= getImportOrderPreference(store);
+// res.importOrder= getImportOrderPreference(store);
res.importThreshold= getImportNumberThreshold(store);
res.tabWidth= CodeFormatterUtil.getTabWidth();
return res;
}
- public static String[] getImportOrderPreference(IPreferenceStore prefs) {
- String str= prefs.getString(PreferenceConstants.ORGIMPORTS_IMPORTORDER);
- if (str != null) {
- return unpackList(str, ";"); //$NON-NLS-1$
- }
- return new String[0];
- }
+// public static String[] getImportOrderPreference(IPreferenceStore prefs) {
+// String str= prefs.getString(PreferenceConstants.ORGIMPORTS_IMPORTORDER);
+// if (str != null) {
+// return unpackList(str, ";"); //$NON-NLS-1$
+// }
+// return new String[0];
+// }
private static String[] unpackList(String str, String separator) {
StringTokenizer tok= new StringTokenizer(str, separator); //$NON-NLS-1$